summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-12-22 11:21:37 +0300
committerGrail Finder <wohilas@gmail.com>2025-12-22 11:21:37 +0300
commit4d3d313ccf66a027cf743a3301f4719341f2cce2 (patch)
tree59f087b10f302c61275d26f16f45ede4b6b80148
parent5525c946613a6f726cd116d79f1505a63ab25806 (diff)
Enha: rebind show img to alt+8
-rw-r--r--tui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tui.go b/tui.go
index 4313d26..6f584fc 100644
--- a/tui.go
+++ b/tui.go
@@ -82,7 +82,7 @@ var (
[yellow]Ctrl+t[white]: remove thinking (<think>) and tool messages from context (delete from chat)
[yellow]Ctrl+l[white]: rotate through free OpenRouter models (if openrouter api) or update connected model name (llamacpp)
[yellow]Ctrl+k[white]: switch tool use (recommend tool use to llm after user msg)
-[yellow]Ctrl+j[white]: if chat agent is char.png will show the image; then any key to return
+[yellow]Alt+8[white]: if chat agent is char.png will show the image; then any key to return
[yellow]Ctrl+a[white]: interrupt tts (needs tts server)
[yellow]Ctrl+g[white]: open RAG file manager (load files for context retrieval)
[yellow]Ctrl+y[white]: list loaded RAG files (view and manage loaded files)
@@ -1064,7 +1064,7 @@ func init() {
updateStatusLine()
return nil
}
- if event.Key() == tcell.KeyCtrlJ {
+ if event.Key() == tcell.KeyRune && event.Rune() == '8' && event.Modifiers()&tcell.ModAlt != 0 {
// show image - check for attached image first, then fall back to agent image
if lastImg != "" {
// Load the attached image