diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-02 11:39:55 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-02 11:39:55 +0300 |
| commit | 3389b1d83bc9fcc605fdff813c826410d07cfe28 (patch) | |
| tree | a9a3dc852f5fdc2f1b3050e8f70bfc687e6a781b /tui.go | |
| parent | 4f6000a43ad2ee019a799c5b5154af9f853e2b83 (diff) | |
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -213,8 +213,7 @@ func init() { pages.SwitchToPage("main") // or whatever your main page is named }) confirmModal.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey { - switch event.Key() { - case tcell.KeyRune: + if event.Key() == tcell.KeyRune { switch event.Rune() { case 'y', 'Y': persona := cfg.UserRole |
