mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 16:40:29 +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
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue