summaryrefslogtreecommitdiff
path: root/props_table.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-16 19:08:16 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-16 19:08:16 +0300
commit43b0fe3739b27deae8193daf1145f42fd616b1f1 (patch)
treece4ea6693c09958ebbbe09d65f58fa0e1267ac48 /props_table.go
parent1b36ef938e1fb1bda040cbbe1c1e0886af7e140e (diff)
Feat: image preview for filepicker
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 a7ad067..ac47f49 100644
--- a/props_table.go
+++ b/props_table.go
@@ -135,6 +135,9 @@ func makePropsTable(props map[string]float32) *tview.Table {
// Reconfigure the app's mouse setting
app.EnableMouse(cfg.EnableMouse)
})
+ addCheckboxRow("Image Preview (file picker)", cfg.ImagePreview, func(checked bool) {
+ cfg.ImagePreview = checked
+ })
addCheckboxRow("Auto turn (for cards with many chars)", cfg.AutoTurn, func(checked bool) {
cfg.AutoTurn = checked
})