mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-15 21:59:58 -04:00
Screencasts/advanced: type slowly
This commit is contained in:
parent
828a969174
commit
1cf184dfda
2 changed files with 2864 additions and 247 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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 "$ "
|
||||
|
|
|
|||
Loading…
Reference in a new issue