mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
Handle line wrapping in ZTST_hashmark.
This commit is contained in:
parent
7270c28a39
commit
ad74b5519c
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2001-05-20 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* unposted: Test/ztst.zsh: Handle line wrapping in ZTST_hashmark.
|
||||||
|
|
||||||
2001-05-20 Andrej Borsenkow <bor@zsh.org>
|
2001-05-20 Andrej Borsenkow <bor@zsh.org>
|
||||||
|
|
||||||
* 14401: Makefile.in, configure.in, Config/config.mk,
|
* 14401: Makefile.in, configure.in, Config/config.mk,
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,7 @@ ZTST_verbose() {
|
||||||
}
|
}
|
||||||
ZTST_hashmark() {
|
ZTST_hashmark() {
|
||||||
[[ ZTST_verbose -le 0 && -t 8 ]] && print -nu8 ${(pl:SECONDS::\#::\#\r:)}
|
[[ 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."
|
[[ ! -r $ZTST_testname ]] && ZTST_testfailed "can't read test file."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue