Screencasts/advanced: type slowly

This commit is contained in:
Andrey Bienkowski 2022-02-20 16:01:50 +03:00 committed by Thomas Waldmann
parent 828a969174
commit 1cf184dfda
2 changed files with 2864 additions and 247 deletions

File diff suppressed because it is too large Load Diff

View File

@ -75,9 +75,11 @@ set script [string map [list __BORG_VERSION__ [exec borg -V]] $script]
set script [split $script \n]
set ::env(PS1) "$ "
set stty_init -echo
spawn -noecho /bin/sh
foreach line $script {
expect "$ "
send_user -h $line\n
send $line\n
}
expect "$ "