summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-27 20:03:47 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-27 20:03:47 +0300
commit5b1cbb46faf4c082c95b9e61d62b790defecd06a (patch)
treebceda102bce26afe04ec60e6dc36050f3ae816f5 /tui.go
parent1fcab8365e8bdcf5658bfa601916e074a39a71e7 (diff)
Chore: linter complaints
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go10
1 files changed, 1 insertions, 9 deletions
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