From d0f1de7c988060895fa78550174754f334d3b8ff Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 24 May 2010 21:34:16 +0000 Subject: 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@ --- term.h | 1 + 1 file changed, 1 insertion(+) (limited to 'term.h') 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; -- cgit