Enha: switch tts on/off from ctrl+p

This commit is contained in:
Grail Finder
2025-12-08 16:57:08 +03:00
parent e7b542730c
commit 0911d6e640
2 changed files with 30 additions and 27 deletions

View File

@@ -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) {