Chore: bool colors for statusline

This commit is contained in:
Grail Finder
2026-01-22 09:29:56 +03:00
parent a28e8ef9e2
commit 9813872854
4 changed files with 27 additions and 34 deletions

7
tui.go
View File

@@ -832,13 +832,6 @@ func init() {
// Handle Alt+7 to toggle injectRole
if event.Key() == tcell.KeyRune && event.Rune() == '7' && event.Modifiers()&tcell.ModAlt != 0 {
injectRole = !injectRole
status := "disabled"
if injectRole {
status = "enabled"
}
if err := notifyUser("injectRole", "Role injection "+status); err != nil {
logger.Error("failed to send notification", "error", err)
}
updateStatusLine()
}
if event.Key() == tcell.KeyF1 {