diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-27 20:03:47 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-27 20:03:47 +0300 |
| commit | 5b1cbb46faf4c082c95b9e61d62b790defecd06a (patch) | |
| tree | bceda102bce26afe04ec60e6dc36050f3ae816f5 /tui.go | |
| parent | 1fcab8365e8bdcf5658bfa601916e074a39a71e7 (diff) | |
Chore: linter complaints
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 |
