update views example
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 71 KiB |
+4
-4
@@ -2,9 +2,9 @@
|
|||||||
Output assets/views.gif
|
Output assets/views.gif
|
||||||
|
|
||||||
Set Shell "bash"
|
Set Shell "bash"
|
||||||
Set FontSize 16
|
Set FontSize 14
|
||||||
Set Width 700
|
Set Width 900
|
||||||
Set Height 450
|
Set Height 600
|
||||||
Set Theme "Catppuccin Mocha"
|
Set Theme "Catppuccin Mocha"
|
||||||
|
|
||||||
Type "bb views"
|
Type "bb views"
|
||||||
@@ -45,4 +45,4 @@ Sleep 600ms
|
|||||||
|
|
||||||
# Actually quit
|
# Actually quit
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 500ms
|
Sleep 1s
|
||||||
|
|||||||
+1
-6
@@ -87,12 +87,7 @@
|
|||||||
[:col {:gap 1}
|
[:col {:gap 1}
|
||||||
[:text {:bold true :fg :cyan} (:name selected)]
|
[:text {:bold true :fg :cyan} (:name selected)]
|
||||||
[:text ""]
|
[:text ""]
|
||||||
[:text (:desc selected)]
|
[: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 {:fg :gray} "b/esc: back q: quit"]])
|
[:text {:fg :gray} "b/esc: back q: quit"]])
|
||||||
|
|
||||||
(defn confirm-view [_model]
|
(defn confirm-view [_model]
|
||||||
|
|||||||
Reference in New Issue
Block a user