mirror of https://github.com/borgbackup/borg.git
Screencasts/advanced: type slowly
This commit is contained in:
parent
828a969174
commit
1cf184dfda
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 New Issue