Enha: update status line on props table exit

This commit is contained in:
Grail Finder
2025-12-04 11:20:54 +03:00
parent 8c99344db0
commit 9c6164c227

View File

@@ -293,10 +293,10 @@ func makePropsTable(props map[string]float32) *tview.Table {
table.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey { table.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {
if event.Key() == tcell.KeyRune && event.Rune() == 'x' { if event.Key() == tcell.KeyRune && event.Rune() == 'x' {
pages.RemovePage(propsPage) pages.RemovePage(propsPage)
updateStatusLine()
return nil return nil
} }
return event return event
}) })
return table return table
} }