summaryrefslogtreecommitdiffstats
path: root/examples/confirm.tape
diff options
context:
space:
mode:
Diffstat (limited to 'examples/confirm.tape')
-rw-r--r--examples/confirm.tape26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/confirm.tape b/examples/confirm.tape
new file mode 100644
index 0000000..9cac1f0
--- /dev/null
+++ b/examples/confirm.tape
@@ -0,0 +1,26 @@
+Output confirm.gif
+
+Set Width 1000
+Set Height 350
+Set Shell bash
+
+Sleep 500ms
+Type "gum confirm && echo 'Me too!' || echo 'Me neither.'"
+Sleep 1s
+Enter
+Sleep 1s
+Right
+Sleep 500ms
+Left
+Sleep 500ms
+Enter
+Sleep 1.5s
+Ctrl+L
+Type "gum confirm && echo 'Me too!' || echo 'Me neither.'"
+Sleep 500ms
+Enter
+Sleep 500ms
+Right
+Sleep 500ms
+Enter
+Sleep 1s