diff --git a/apps/wolfsshd/test/sshd_term_size_test.sh b/apps/wolfsshd/test/sshd_term_size_test.sh index ad5138a5..c5964dba 100755 --- a/apps/wolfsshd/test/sshd_term_size_test.sh +++ b/apps/wolfsshd/test/sshd_term_size_test.sh @@ -38,6 +38,10 @@ echo "tmux 'test' session has COL = ${COL} and ROW = ${ROW}" # get the terminals columns and lines tmux send-keys -t test 'echo;echo $COLUMNS $LINES;echo' tmux send-keys -t test 'ENTER' + +# give the command a second to run +sleep 0.5 + tmux capture-pane -t test RESULT=$(tmux show-buffer | grep '^[0-9]* [0-9]*$') tmux show-buffer