From 4d3d313ccf66a027cf743a3301f4719341f2cce2 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Mon, 22 Dec 2025 11:21:37 +0300 Subject: Enha: rebind show img to alt+8 --- tui.go | 4 ++-- 1 file 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 () 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 -- cgit v1.2.3