diff options
Diffstat (limited to 'regress/cursor-test1.sh')
-rw-r--r-- | regress/cursor-test1.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/cursor-test1.sh b/regress/cursor-test1.sh index d34f9923..2dc20539 100644 --- a/regress/cursor-test1.sh +++ b/regress/cursor-test1.sh @@ -4,13 +4,14 @@ PATH=/bin:/usr/bin TERM=screen [ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux) -TMUX="$TEST_TMUX -Ltest" +TMUX="$TEST_TMUX -f/dev/null -Ltest" $TMUX kill-server 2>/dev/null TMP=$(mktemp) trap "rm -f $TMP" 0 1 15 -$TMUX new -d -x40 -y10 "cat cursor-test.txt; printf '\e[9;15H'; cat" || exit 1 +$TMUX -f/dev/null new -d -x40 -y10 \ + "cat cursor-test.txt; printf '\e[9;15H'; cat" || exit 1 $TMUX set -g window-size manual || exit 1 $TMUX display -pF '#{cursor_x} #{cursor_y} #{cursor_character}' >>$TMP |