summaryrefslogtreecommitdiff
path: root/props_table.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-02 08:29:38 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-02 08:29:38 +0300
commit0e6d2747cde8485d4d1ce7e2dd866e03f77467fc (patch)
tree06bf18ac381fb6a52ce614bc6511c280f90cdd7f /props_table.go
parent343e045095419522a388aa0aa7d66ec1eced1803 (diff)
Enha: auto turn config switch
Diffstat (limited to 'props_table.go')
-rw-r--r--props_table.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/props_table.go b/props_table.go
index a235d7c..1b8e894 100644
--- a/props_table.go
+++ b/props_table.go
@@ -137,6 +137,9 @@ func makePropsTable(props map[string]float32) *tview.Table {
// Reconfigure the app's mouse setting
app.EnableMouse(cfg.EnableMouse)
})
+ addCheckboxRow("Auto turn (for cards with many chars)", cfg.AutoTurn, func(checked bool) {
+ cfg.AutoTurn = checked
+ })
// Add dropdowns
logLevels := []string{"Debug", "Info", "Warn"}
addListPopupRow("Set log level", logLevels, GetLogLevel(), func(option string) {