diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-20 18:10:56 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-20 18:10:56 +0000 |
commit | ad74b5519c0c9c0c376ae3bfa2a85ad8f7862989 (patch) | |
tree | 07d638ecae9d5b67f1313eb1a9e95c719acf91e9 /Test | |
parent | 7270c28a3992a1a386bc491f0f026080bb88387e (diff) | |
download | zsh-ad74b5519c0c9c0c376ae3bfa2a85ad8f7862989.tar.gz zsh-ad74b5519c0c9c0c376ae3bfa2a85ad8f7862989.tar.xz zsh-ad74b5519c0c9c0c376ae3bfa2a85ad8f7862989.zip |
Handle line wrapping in ZTST_hashmark.
Diffstat (limited to 'Test')
-rwxr-xr-x | Test/ztst.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
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." |