From 5b1cbb46faf4c082c95b9e61d62b790defecd06a Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 27 Feb 2026 20:03:47 +0300 Subject: Chore: linter complaints --- tui.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'tui.go') diff --git a/tui.go b/tui.go index 14ca1aa..1fe3adb 100644 --- a/tui.go +++ b/tui.go @@ -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 -- cgit v1.2.3