diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-08 16:57:08 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-08 16:57:08 +0300 |
| commit | 0911d6e64051b32cd16c20d927c72c74625b99cd (patch) | |
| tree | 09594fb283cf8d68cbf97bf5c1cf269e55763b59 /props_table.go | |
| parent | e7b542730c76e94b1fe806c3ae3ae262d934d38f (diff) | |
Enha: switch tts on/off from ctrl+p
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/props_table.go b/props_table.go index 448044c..7807522 100644 --- a/props_table.go +++ b/props_table.go @@ -121,6 +121,9 @@ func makePropsTable(props map[string]float32) *tview.Table { addCheckboxRow("Inject role", injectRole, func(checked bool) { injectRole = checked }) + addCheckboxRow("TTS Enabled", cfg.TTS_ENABLED, func(checked bool) { + cfg.TTS_ENABLED = checked + }) // Add dropdowns logLevels := []string{"Debug", "Info", "Warn"} addListPopupRow("Set log level", logLevels, GetLogLevel(), func(option string) { |
