demos: type faster, pause more

I find it frustrating to wait for the typing, but I need much more
time to think between commands (and users who are new to the tool
surely need even more time).
This commit is contained in:
Martin von Zweigbergk 2021-10-22 18:25:44 -07:00
parent b1d473eafb
commit 2dd0bf7b12
3 changed files with 7 additions and 3 deletions

View File

@ -31,8 +31,8 @@ Features:
<details> <details>
<summary>Demo</summary> <summary>Demo</summary>
<a href="https://asciinema.org/a/3LEDzGEmEGnf0sTsvyHm41Jgu" target="_blank"> <a href="https://asciinema.org/a/C5TKUes95yHCiGvtzkisDNGsz" target="_blank">
<img src="https://asciinema.org/a/3LEDzGEmEGnf0sTsvyHm41Jgu.svg" /> <img src="https://asciinema.org/a/C5TKUes95yHCiGvtzkisDNGsz.svg" />
</a> </a>
</details> </details>

View File

@ -9,9 +9,13 @@ run_demo '
run_command "# Clone a Git repo:" run_command "# Clone a Git repo:"
run_command "jj git clone https://github.com/octocat/Hello-World" run_command "jj git clone https://github.com/octocat/Hello-World"
run_command "cd Hello-World" run_command "cd Hello-World"
sleep 1
run_command "# Inspect it:" run_command "# Inspect it:"
sleep 1
run_command "jj log" run_command "jj log"
sleep 5
run_command "jj diff -r b1" run_command "jj diff -r b1"
sleep 2
run_command "# The repo is backed by the actual Git repo:" run_command "# The repo is backed by the actual Git repo:"
run_command "git --git-dir=.jj/store/git log --graph --all --decorate --oneline" run_command "git --git-dir=.jj/store/git log --graph --all --decorate --oneline"
' '

View File

@ -1,4 +1,4 @@
set send_human {0.1 0.3 1 0.05 1} set send_human {0.05 0.1 1 0.05 1}
set timeout 2 set timeout 2
proc expect_prompt {} { proc expect_prompt {} {