summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-10 11:25:05 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-10 11:25:05 +0300
commit46a33baabbde39f4090816965ff26840143bae95 (patch)
treee89c5bd1430acc875f6cb431c4edbb3fe9d1fc5e /tui.go
parent875de679cf4732bbd70361d826d65d9d8b190add (diff)
Enha: stop tts if msg not for user
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/tui.go b/tui.go
index cac8faa..b5480ed 100644
--- a/tui.go
+++ b/tui.go
@@ -1120,12 +1120,8 @@ func init() {
}
}
// I need keybind for tts to shut up
- if event.Key() == tcell.KeyCtrlA {
- // textArea.SetText("pressed ctrl+A", true)
- if cfg.TTS_ENABLED {
- // audioStream.TextChan <- chunk
- TTSDoneChan <- true
- }
+ if event.Key() == tcell.KeyCtrlA && cfg.TTS_ENABLED {
+ TTSDoneChan <- true
}
if event.Key() == tcell.KeyCtrlW {
// INFO: continue bot/text message