diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-28 00:06:09 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-28 00:06:09 +0300 |
| commit | cae7dea2e7c149edd055b542a2a08b53af8a0ac8 (patch) | |
| tree | 5e387c1e6197b91b945fbff01218df45cad86ca2 /tui.go | |
| parent | 29becaa8c83c8dff8af7623ca71e8021319887ab (diff) | |
| parent | 9d91685e9adde94d20313fb405c4301b4dd59a75 (diff) | |
Merge branch 'master' into doc/tutorial
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -88,6 +88,7 @@ var ( [yellow]Ctrl+q[white]: cycle through mentioned chars in chat, to pick persona to send next msg as [yellow]Ctrl+x[white]: cycle through mentioned chars in chat, to pick persona to send next msg as (for llm) [yellow]Alt+1[white]: toggle shell mode (execute commands locally) +[yellow]Alt+3[white]: summarize chat history and start new chat with summary as tool response [yellow]Alt+4[white]: edit msg role [yellow]Alt+5[white]: toggle system and tool messages display [yellow]Alt+6[white]: toggle status line visibility @@ -779,6 +780,10 @@ func init() { textView.SetText(chatToText(cfg.ShowSys)) colorText() } + if event.Key() == tcell.KeyRune && event.Rune() == '3' && event.Modifiers()&tcell.ModAlt != 0 { + go summarizeAndStartNewChat() + return nil + } if event.Key() == tcell.KeyRune && event.Rune() == '6' && event.Modifiers()&tcell.ModAlt != 0 { // toggle status line visibility if name, _ := pages.GetFrontPage(); name != "main" { |
