diff options
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -565,7 +565,7 @@ func init() { return nil } // Handle Ctrl+T to toggle tool call/response visibility - if event.Key() == tcell.KeyRune && event.Rune() == 't' && event.Modifiers()&tcell.ModCtrl != 0 { + if event.Key() == tcell.KeyCtrlT { toolCollapsed = !toolCollapsed textView.SetText(chatToText(chatBody.Messages, cfg.ShowSys)) colorText() @@ -796,14 +796,6 @@ func init() { showModelSelectionPopup() return nil } - if event.Key() == tcell.KeyCtrlT { - // clear context - // remove tools and thinking - removeThinking(chatBody) - textView.SetText(chatToText(chatBody.Messages, cfg.ShowSys)) - colorText() - return nil - } if event.Key() == tcell.KeyCtrlV { if isFullScreenPageActive() { return event |
