diff options
Diffstat (limited to 'tui.go')
-rw-r--r-- | tui.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,7 @@ package main import ( + "elefant/extra" "elefant/models" "elefant/pngmeta" "fmt" @@ -708,6 +709,14 @@ func init() { return nil } } + // 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 + extra.TTSDoneChan <- true + } + } if event.Key() == tcell.KeyCtrlW { // INFO: continue bot/text message // without new role |