-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.tape
More file actions
76 lines (63 loc) · 943 Bytes
/
demo.tape
File metadata and controls
76 lines (63 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# VHS Demo for vrs
# Uses the `./vrs` build through $PWD below (ie. not `vrs` installed via Homebrew) so that the demo always shows the latest / dev version of vrs
Output demo.gif
Set Shell "bash"
Set FontSize 36
Set Width 1600
Set Height 1000
Set Padding 40
Set TypingSpeed 60ms
Set Theme "Catppuccin Mocha"
# Setup (hidden)
Hide
Type "export PATH=$PWD:$PATH" Enter
Type "clear" Enter
Sleep 300ms
Show
# Launch vrs
Sleep 300ms
Type "vrs"
Sleep 1.5s
Enter
Sleep 1s
# Search for "node"
Type "no"
Sleep 1s
# Navigate down through results
Down
Sleep 500ms
Down
Sleep 500ms
# Select Node.js
Up
Sleep 500ms
Up
Sleep 500ms
Enter
Sleep 1.5s
# Scroll through releases
Down
Sleep 400ms
Down
Sleep 400ms
Down
Sleep 400ms
Down
Sleep 400ms
Down
Sleep 400ms
Sleep 1s
# Go back
Escape
Sleep 1.5s
# Clear search and try another
Escape
Sleep 500ms
Type "ruby"
Sleep 500ms
# Select first result
Enter
Sleep 1.5s
# Copy a version
Type "c"
Sleep 2s