diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-10 11:25:05 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-10 11:25:05 +0300 |
| commit | 46a33baabbde39f4090816965ff26840143bae95 (patch) | |
| tree | e89c5bd1430acc875f6cb431c4edbb3fe9d1fc5e /tui.go | |
| parent | 875de679cf4732bbd70361d826d65d9d8b190add (diff) | |
Enha: stop tts if msg not for user
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |
