update views example

This commit is contained in:
2026-01-21 12:58:50 -05:00
parent 507db9cf00
commit dd92d05247
3 changed files with 5 additions and 10 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 71 KiB

+4 -4
View File
@@ -2,9 +2,9 @@
Output assets/views.gif
Set Shell "bash"
Set FontSize 16
Set Width 700
Set Height 450
Set FontSize 14
Set Width 900
Set Height 600
Set Theme "Catppuccin Mocha"
Type "bb views"
@@ -45,4 +45,4 @@ Sleep 600ms
# Actually quit
Type "q"
Sleep 500ms
Sleep 1s
+1 -6
View File
@@ -87,12 +87,7 @@
[:col {:gap 1}
[:text {:bold true :fg :cyan} (:name selected)]
[:text ""]
[:text (:desc selected)]
[:text ""]
[:text {:fg :gray :italic true}
"This is a detailed view of the selected item."]
[:text {:fg :gray :italic true}
"You could show forms, settings, or other content here."]]]
[:text (:desc selected)]]]
[:text {:fg :gray} "b/esc: back q: quit"]])
(defn confirm-view [_model]