Skip to content

Commit

Permalink
Add demo gif and instructions to preselect example
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Jul 28, 2023
1 parent dd2d118 commit d916253
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/preselect/README.md
@@ -0,0 +1 @@
![](./demo.gif)
Binary file added examples/preselect/demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions tapes/library/preselect.tape
@@ -0,0 +1,36 @@
# configuration
Output ./examples/preselect/demo.gif
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600

# setup
Hide
Type "mkdir ./tmp" Enter
Type "cp ./examples/preselect/main.go ./tmp/main.go" Enter
Type "cd ./tmp" Enter
Ctrl+l
Show

# ---

Type "go run ./main.go" Sleep 750ms Enter
Sleep 2s

Down 2
Sleep 1s

Up 2
Sleep 1s

Enter

Sleep 3s

# ---

# cleanup
Hide
Type "cd ../" Enter
Type "\rm -rf ./tmp" Enter

0 comments on commit d916253

Please sign in to comment.