aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitadf4f1cf3dd98e5676c333b40212a2f4b0d1347d (patch)
tree7e2ab3273e586a7c28665998fe016c9063953d43 /term.h
parent397916af9099ebb9b23d491efef58d48d4e88133 (diff)
downloadmandoc-adf4f1cf3dd98e5676c333b40212a2f4b0d1347d.tar.gz
mandoc-adf4f1cf3dd98e5676c333b40212a2f4b0d1347d.tar.zst
mandoc-adf4f1cf3dd98e5676c333b40212a2f4b0d1347d.zip
Basic implementation of .Bk/.Ek; from OpenBSD.
OK and one stylistic tweak by kristaps@.
Diffstat (limited to 'term.h')
-rw-r--r--term.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/term.h b/term.h
index a9493a1b..4293e9d6 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.65 2010/06/25 18:53:14 kristaps Exp $ */
+/* $Id: term.h,v 1.66 2010/06/27 01:26:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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. */