forked from charmbracelet/gum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add new gifs (charmbracelet#533)
* docs: add new gifs * Update README.md * docs: spin.gif * docs: add spin.gif to readme * fix: lint * don't commit filter.tape
- Loading branch information
1 parent
2a35019
commit f75dfa6
Showing
17 changed files
with
227 additions
and
14 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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
*.gif | ||
*.png |
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 @@ | ||
# Glamour | ||
|
||
A casual introduction. 你好世界! | ||
|
||
## Let's talk about artichokes | ||
|
||
The artichoke is mentioned as a garden | ||
plant in the 8th century BC by Homer | ||
and Hesiod. The naturally occurring | ||
variant of the artichoke, the cardoon, | ||
which is native to the Mediterranean | ||
area, also has records of use as a | ||
food among the ancient Greeks and | ||
Romans. Pliny the Elder mentioned | ||
growing of 'carduus' in Carthage | ||
and Cordoba. | ||
|
||
He holds him with his skinny hand, | ||
There was ship,' quoth he. | ||
'Hold off! unhand me, grey-beard loon!' | ||
An artichoke dropt he. | ||
|
||
## Other foods worth mentioning | ||
|
||
1. Carrots | ||
2. Celery | ||
3. Tacos | ||
• Soft | ||
• Hard | ||
4. Cucumber | ||
|
||
## Things to eat today | ||
|
||
* Carrots | ||
* Ramen | ||
* Currywurst |
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,26 @@ | ||
Output choose.gif | ||
|
||
Set Width 1000 | ||
Set Height 430 | ||
Set Shell bash | ||
|
||
Type "gum choose {1..5}" | ||
Sleep 500ms | ||
Enter | ||
Sleep 500ms | ||
Down@250ms 3 | ||
Sleep 500ms | ||
Up@250ms 2 | ||
Enter | ||
Sleep 1.5s | ||
Ctrl+L | ||
Sleep 500ms | ||
Type "gum choose --limit 2 Banana Cherry Orange" | ||
Sleep 500ms | ||
Enter | ||
Sleep 500ms | ||
Type@250ms "jxjxk" | ||
Sleep 1s | ||
Enter | ||
Sleep 2s | ||
|
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,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 |
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,19 @@ | ||
Output customize.gif | ||
|
||
Set Width 1000 | ||
Set Height 350 | ||
Set Shell bash | ||
|
||
Sleep 1s | ||
Type `gum input --cursor.foreground "#F4AC45" \` Enter | ||
Type `--prompt.foreground "#04B575" --prompt "What's up? " \` Enter | ||
Type `--placeholder "Not much, you?" --value "Not much, you?" \` Enter | ||
Type `--width 80` Enter | ||
Sleep 1s | ||
Ctrl+A | ||
Sleep 1s | ||
Ctrl+E | ||
Sleep 1s | ||
Ctrl+U | ||
Sleep 1s | ||
|
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 @@ | ||
Banana |
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,15 @@ | ||
Output file.gif | ||
Set Width 800 | ||
Set Height 525 | ||
Set Shell bash | ||
|
||
Type "gum file .." | ||
Enter | ||
Sleep 1s | ||
Down@150ms 6 | ||
Sleep 1s | ||
Enter | ||
Sleep 1s | ||
Type "j" | ||
Sleep 1s | ||
|
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,4 @@ | ||
Banana | ||
Cherry | ||
Orange | ||
Strawberry |
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,12 @@ | ||
[38;2;90;86;224m> [0mgum format -t code < main.go | ||
|
||
|
||
[38;5;204m[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;204mpackage[0m[38;5;251m [0m[38;5;251mmain[0m[38;5;251m[0m | ||
[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;251m[0m | ||
[0m[38;5;204m[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;204mimport[0m[38;5;251m [0m[38;5;173m"fmt"[0m[38;5;251m[0m | ||
[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;251m[0m | ||
[0m[38;5;39m[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;39mfunc[0m[38;5;251m [0m[38;5;42mmain[0m[38;5;187m()[0m[38;5;251m [0m[38;5;187m{[0m[38;5;251m[0m | ||
[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;251m [0m[38;5;251mfmt[0m[38;5;187m.[0m[38;5;42mPrintln[0m[38;5;187m([0m[38;5;173m"Charm_™ Gum"[0m[38;5;187m)[0m[38;5;251m[0m | ||
[0m[38;5;187m[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;187m}[0m[38;5;251m[0m | ||
[0m[38;5;252m[0m [38;5;252m [0m[38;5;252m [0m[38;5;251m[0m | ||
[0m |
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,16 @@ | ||
Output input.gif | ||
|
||
Set Width 800 | ||
Set Height 250 | ||
Set Shell bash | ||
|
||
Sleep 1s | ||
Type `gum input --placeholder "What's up?"` | ||
Sleep 1s | ||
Enter | ||
Sleep 1s | ||
Type "Not much, you?" | ||
Sleep 1s | ||
Enter | ||
Sleep 1s | ||
|
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,7 @@ | ||
package main | ||
|
||
import "fmt" | ||
|
||
func main() { | ||
fmt.Println("Charm_™ Gum") | ||
} |
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,15 @@ | ||
Output pager.gif | ||
|
||
Set Shell bash | ||
Set Width 900 | ||
Set Height 750 | ||
|
||
Sleep 1s | ||
Type "gum pager < README.md" | ||
Enter | ||
Sleep 1.5s | ||
Down@100ms 25 | ||
Sleep 1s | ||
Up@100ms 25 | ||
Sleep 3s | ||
|
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,13 @@ | ||
Output spin.gif | ||
|
||
Set Shell bash | ||
Set Width 1200 | ||
Set Height 300 | ||
Set FontSize 36 | ||
|
||
Sleep 500ms | ||
Type `gum spin --title "Buying Gum..." -- sleep 5` | ||
Sleep 1s | ||
Enter | ||
Sleep 4s | ||
|
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,2 @@ | ||
Once upon a time | ||
In a land far, far away.... |
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,21 @@ | ||
Output write.gif | ||
|
||
Set Width 800 | ||
Set Height 350 | ||
Set Shell bash | ||
|
||
Sleep 500ms | ||
Type "gum write > story.txt" | ||
Enter | ||
Sleep 1s | ||
Type "Once upon a time" | ||
Sleep 1s | ||
Alt+Enter | ||
Type "In a land far, far away...." | ||
Sleep 500ms | ||
Enter | ||
Sleep 1s | ||
Type "cat story.txt" | ||
Enter | ||
Sleep 2s | ||
|
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