From 46a33baabbde39f4090816965ff26840143bae95 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Tue, 10 Feb 2026 11:25:05 +0300 Subject: Enha: stop tts if msg not for user --- tui.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tui.go') 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 -- cgit v1.2.3