summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-25 00:39:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-25 00:39:31 +0000
commitae3f51d742a1c36dd2092d91c57e3885d28a21f5 (patch)
tree743265550f2e5411f8f89f8d493d55658fe50acc /term.h
parent4502d03c03ab81e38efc29a83958d57f9d2a3a36 (diff)
downloadmandoc-ae3f51d742a1c36dd2092d91c57e3885d28a21f5.tar.gz
Do not break output lines in .Fn function arguments in SYNOPSIS mode.
Following an idea from Franco Fichtner, but implemented more cleanly. This reduces groff-mandoc-differences in OpenBSD base by a fantastic 7.5%.
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 42f37287..eced1a0f 100644
--- a/term.h
+++ b/term.h
@@ -71,6 +71,7 @@ struct termp {
#define TERMP_SENTENCE (1 << 1) /* Space before a sentence. */
#define TERMP_NOSPACE (1 << 2) /* No space before words. */
#define TERMP_NONOSPACE (1 << 3) /* No space (no autounset). */
+#define TERMP_NBRWORD (1 << 4) /* Make next word nonbreaking. */
#define TERMP_KEEP (1 << 5) /* Keep words together. */
#define TERMP_PREKEEP (1 << 6) /* ...starting with the next one. */
#define TERMP_SKIPCHAR (1 << 7) /* Skip the next character. */