summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-06-27 01:26:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-06-27 01:26:20 +0000
commit186075c603215a3baa6ee2dd6ff0060ae58deb63 (patch)
tree6a031f6e6b2fe6e9aef2093cce03b01c787d5d89 /term.h
parentc5cf90497acc3621015972b85b9c079b43601342 (diff)
downloadmandoc-186075c603215a3baa6ee2dd6ff0060ae58deb63.tar.gz
Basic implementation of .Bk/.Ek; from OpenBSD.
OK and one stylistic tweak by kristaps@.
Diffstat (limited to 'term.h')
-rw-r--r--term.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/term.h b/term.h
index 41acd5df..28efc9e7 100644
--- a/term.h
+++ b/term.h
@@ -78,6 +78,8 @@ struct termp {
#define TERMP_NOSPLIT (1 << 11) /* See termp_an_pre/post(). */
#define TERMP_SPLIT (1 << 12) /* See termp_an_pre/post(). */
#define TERMP_ANPREC (1 << 13) /* See termp_an_pre(). */
+#define TERMP_KEEP (1 << 14) /* Keep words together. */
+#define TERMP_PREKEEP (1 << 15) /* ...starting with the next one. */
char *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
void *symtab; /* Encoded-symbol table. */