A few fixes

This commit is contained in:
2025-08-18 15:49:03 -05:00
parent 061bf1b37d
commit 599554a798
7 changed files with 117 additions and 117 deletions

View File

@@ -92,7 +92,7 @@ func (ui *Ui) run() error {
case *tcell.EventKey:
if ev.Key() == tcell.KeyCtrlC {
ui.stop()
ui.Exit()
return nil
}
ui.screen.HandleKey(ev)
@@ -115,7 +115,7 @@ func (ui *Ui) SetScreen(scr *UiScreen) {
ui.screen.HandleResize(tcell.NewEventResize(ui.GetSize()))
}
func (ui *Ui) stop() { ui.running = false }
func (ui *Ui) Exit() { ui.running = false }
func (ui *Ui) cleanup() { ui.tScreen.Fini() }
const letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"