aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-08 15:34:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-08 15:34:54 +0000
commitaa8151b1157e8486bce7cb08deeb4c78df1d9669 (patch)
tree00a31b096cb9f968844ba4e0abd4f6a07037f6c9 /term.h
parent396a6a4a456ccbca1eb8ea6ef724a14e28f9fc54 (diff)
downloadmandoc-aa8151b1157e8486bce7cb08deeb4c78df1d9669.tar.gz
mandoc-aa8151b1157e8486bce7cb08deeb4c78df1d9669.tar.zst
mandoc-aa8151b1157e8486bce7cb08deeb4c78df1d9669.zip
Basic implementation of the roff(7) .ti (temporary indent) request.
Needed by about four dozen ports (thanks to naddy@ for the research).
Diffstat (limited to 'term.h')
-rw-r--r--term.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.h b/term.h
index b69e6715..25600d42 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.120 2017/05/07 17:31:45 schwarze Exp $ */
+/* $Id: term.h,v 1.121 2017/05/08 15:34:54 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -68,6 +68,7 @@ struct termp {
size_t viscol; /* Chars on current line. */
size_t trailspace; /* See termp_flushln(). */
int overstep; /* See termp_flushln(). */
+ int ti; /* Temporary indent for one line. */
int skipvsp; /* Vertical space to skip. */
int flags;
#define TERMP_SENTENCE (1 << 0) /* Space before a sentence. */