summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-05-24 21:34:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-05-24 21:34:16 +0000
commitd0f1de7c988060895fa78550174754f334d3b8ff (patch)
treec38044c47a818a179479eeabe5568f73aa96cd7d /term.h
parent1168cba5930f4bb623acc6ddd0637b0d1ac272a5 (diff)
downloadmandoc-d0f1de7c988060895fa78550174754f334d3b8ff.tar.gz
Handle literal tab characters both in literal context (.Bd -literal)
and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. from OpenBSD mdoc_term.c rev. 1.75; "commit" kristaps@
Diffstat (limited to 'term.h')
-rw-r--r--term.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/term.h b/term.h
index b0df752f..043178e4 100644
--- a/term.h
+++ b/term.h
@@ -37,6 +37,7 @@ struct termp {
size_t maxrmargin; /* Max right margin. */
size_t maxcols; /* Max size of buf. */
size_t offset; /* Margin offest. */
+ size_t tabwidth; /* Distance of tab positions. */
size_t col; /* Bytes in buf. */
int overstep; /* See termp_flushln(). */
int flags;