diff options
author | 2010-05-17 02:03:49 +0000 | |
---|---|---|
committer | 2010-05-17 02:03:49 +0000 | |
commit | 92abde30232def02a702bd3ca66344c61f3bda92 (patch) | |
tree | 13516fe4cc36824906baa6f9ec6302ee70ea966e /regress/regress.sh | |
parent | 5abca976891730e3c6e4410885db9cc81d83851d (diff) | |
download | mandoc-92abde30232def02a702bd3ca66344c61f3bda92.tar.gz mandoc-92abde30232def02a702bd3ca66344c61f3bda92.tar.zst mandoc-92abde30232def02a702bd3ca66344c61f3bda92.zip |
The function term_flushln() had effectively forked in OpenBSD.
This is the bsd.lv part of the main step to bring it back in sync.
At the same time, this prevents trailing whitespace in the output:
We delay writing blanks until we are sure printable characters follow.
This is achieved by
* remembering the end of the word instead of its length
* and not using vbl any longer for the control of line breaking
* such that vbl can sum up all kinds of white space
* before writing a word, printing all the blanks collected in vbl
* within the word, adding NBSP chars to vbl, then continuing with the word
* after the word, adding blanks to vbl, then starting the next word
"looks good" kristaps@
Diffstat (limited to 'regress/regress.sh')
0 files changed, 0 insertions, 0 deletions