-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add demo gif and instructions for preselect-all example
- Loading branch information
1 parent
c05399c
commit 556354d
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
![](./demo.gif) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# configuration | ||
Output ./examples/preselect-all/demo.gif | ||
Set Shell "bash" | ||
Set FontSize 32 | ||
Set Width 1200 | ||
Set Height 600 | ||
|
||
# setup | ||
Hide | ||
Type "mkdir ./tmp" Enter | ||
Type "cp ./examples/preselect-all/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 |