summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-19 10:36:04 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-19 10:36:04 +0300
commit3a9a7dbe996ac0deb6cb83654a70c5b229137a62 (patch)
treee10e67416c305aaaf0d39d7169b46218fc506db4 /tui.go
parentd3361c13c5cd20e277e8d470a8606cb57d9867bc (diff)
Feat: colorscheme popup [WIP]
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tui.go b/tui.go
index 0d2cd92..9a10890 100644
--- a/tui.go
+++ b/tui.go
@@ -96,6 +96,7 @@ var (
[yellow]Alt+8[white]: show char img or last picked img
[yellow]Alt+9[white]: warm up (load) selected llama.cpp model
[yellow]Alt+t[white]: toggle thinking blocks visibility (collapse/expand <think> blocks)
+[yellow]Alt+c[white]: show colorscheme selection popup
=== scrolling chat window (some keys similar to vim) ===
[yellow]arrows up/down and j/k[white]: scroll up and down
@@ -560,6 +561,10 @@ func init() {
}
return nil
}
+ if event.Key() == tcell.KeyRune && event.Rune() == 'i' && event.Modifiers()&tcell.ModAlt != 0 {
+ showColorschemeSelectionPopup()
+ return nil
+ }
if event.Key() == tcell.KeyF1 {
// chatList, err := loadHistoryChats()
chatList, err := store.GetChatByChar(cfg.AssistantRole)