aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-17 20:18:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-17 20:18:58 +0000
commit756bc1418bc14662d5166b584a15d391ce60eeef (patch)
tree8149b707186a3b458729b0a0dbb752bc8a48876d /term.h
parentf85be39182e378f3e41ba0909f7afabbf5758462 (diff)
downloadmandoc-756bc1418bc14662d5166b584a15d391ce60eeef.tar.gz
mandoc-756bc1418bc14662d5166b584a15d391ce60eeef.tar.zst
mandoc-756bc1418bc14662d5166b584a15d391ce60eeef.zip
simplify handling of .An -[no]split for terminal output:
delete one static function, one flag #define, and 25 lines of code; no functional change
Diffstat (limited to 'term.h')
-rw-r--r--term.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/term.h b/term.h
index e1eec88d..9c4b431c 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.102 2014/09/03 05:22:45 schwarze Exp $ */
+/* $Id: term.h,v 1.103 2014/09/17 20:18:58 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -81,9 +81,8 @@ struct termp {
#define TERMP_BRIND (1 << 9) /* See term_flushln(). */
#define TERMP_DANGLE (1 << 10) /* See term_flushln(). */
#define TERMP_HANG (1 << 11) /* See term_flushln(). */
-#define TERMP_NOSPLIT (1 << 12) /* See termp_an_pre/post(). */
-#define TERMP_SPLIT (1 << 13) /* See termp_an_pre/post(). */
-#define TERMP_ANPREC (1 << 14) /* See termp_an_pre(). */
+#define TERMP_NOSPLIT (1 << 12) /* Do not break line before .An. */
+#define TERMP_SPLIT (1 << 13) /* Break line before .An. */
int *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
struct mchars *symtab; /* Encoded-symbol table. */