Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BF: increase delay to avoid character gibberish #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/cast_live
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function instruct () {
wait "$@"
}
function type () {
xdt $xterm_window type --clearmodifiers --delay 40 "$1"
xdt $xterm_window type --clearmodifiers --delay 50 "$1"
}
function key () {
xdt $xterm_window key --clearmodifiers $*
Expand All @@ -85,7 +85,7 @@ function sleep () {
function execute () {
xdt $this_window
read -p "Hit enter when any previous command has finished"
xdt $xterm_window sleep 0.5 key Return
xdt $xterm_window sleep 0.1 key Return
#while [ x"$xterm_pstree" != x"$(pstree -p $xterm_pid)" ]; do
# sleep 0.1
#done
Expand All @@ -101,7 +101,7 @@ function say()
key Return
}
function show () {
xdt $xterm_window type --clearmodifiers --delay 0 "$(printf "\n$1\n\n" | sed -e 's/^/# /g')"
xdt $xterm_window type --clearmodifiers --delay 2 "$(printf "\n$1\n\n" | sed -e 's/^/# /g')"
key Return
}
function run () {
Expand All @@ -124,7 +124,7 @@ function run_expfail () {
run "$1"
}

xdt $xterm_window sleep 0.1
xdt $xterm_window sleep 0.3

echo "xterm PID $xterm_pid (window $xterm_window) this window $this_window"

Expand Down