diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-07 02:14:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-07 02:14:09 +0000 |
commit | 955d8c0b01f8bcb2337da16b09f839e0f9cfd8b6 (patch) | |
tree | 0545395b9109f87381c1ecb3e0e80ffa03e6385a /term.h | |
parent | 29a53f97793b69d7bc6667efd7fdcdce180a5997 (diff) | |
download | mandoc-955d8c0b01f8bcb2337da16b09f839e0f9cfd8b6.tar.gz |
The \h escape sequence provides another method for moving backwards,
and after that, previously written output gets overwritten, but
overwriting with blanks does *not* erase previously written content.
Yes, manual pages exist that are crazy enough to rely on that...
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -62,7 +62,8 @@ struct termp { size_t maxrmargin; /* Max right margin. */ size_t maxcols; /* Max size of buf. */ size_t offset; /* Margin offest. */ - size_t col; /* Bytes in buf. */ + size_t col; /* Byte position in buf. */ + size_t lastcol; /* Bytes in buf. */ size_t viscol; /* Chars on current line. */ size_t trailspace; /* See termp_flushln(). */ size_t minbl; /* Minimum blanks before next field. */ |