From ad74b5519c0c9c0c376ae3bfa2a85ad8f7862989 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 20 May 2001 18:10:56 +0000 Subject: Handle line wrapping in ZTST_hashmark. --- Test/ztst.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'Test/ztst.zsh') diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 4fa7a15a2..b881e9501 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -111,6 +111,7 @@ ZTST_verbose() { } ZTST_hashmark() { [[ ZTST_verbose -le 0 && -t 8 ]] && print -nu8 ${(pl:SECONDS::\#::\#\r:)} + (( SECONDS > COLUMNS+1 && (SECONDS -= COLUMNS) )) } [[ ! -r $ZTST_testname ]] && ZTST_testfailed "can't read test file." -- cgit 1.4.1