diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-16 19:08:16 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-16 19:08:16 +0300 |
| commit | 43b0fe3739b27deae8193daf1145f42fd616b1f1 (patch) | |
| tree | ce4ea6693c09958ebbbe09d65f58fa0e1267ac48 /props_table.go | |
| parent | 1b36ef938e1fb1bda040cbbe1c1e0886af7e140e (diff) | |
Feat: image preview for filepicker
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 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 }) |
