summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 12:35:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 12:35:02 +0000
commitc4b5d8a0192a406d9f04a23e2c8a768a29e01371 (patch)
treedb36bf96544a33bbc1913af7b929977a718202ce /term.c
parentc7786fc13e7b2236e756f79950f7ababcac56545 (diff)
downloadmandoc-c4b5d8a0192a406d9f04a23e2c8a768a29e01371.tar.gz
Added colour styles (not being used) to struct termp.
Added nroff style-escape encoding. Removed ANSI schema string tables (there's only ANSI and nroff/backspace). Pushed styling directly into pword (simpler).
Diffstat (limited to 'term.c')
-rw-r--r--term.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/term.c b/term.c
index c1bbf8ea..f565521c 100644
--- a/term.c
+++ b/term.c
@@ -67,28 +67,28 @@
/* TODO: abstract this into mdocterm.c. */
const int ttypes[TTYPE_NMAX] = {
- TERMP_BOLD, /* TTYPE_PROG */
+ TERMP_BOLD, /* TTYPE_PROG */
TERMP_BOLD, /* TTYPE_CMD_FLAG */
- TERMP_UNDERLINE, /* TTYPE_CMD_ARG */
+ TERMP_UNDER, /* TTYPE_CMD_ARG */
TERMP_BOLD, /* TTYPE_SECTION */
TERMP_BOLD, /* TTYPE_FUNC_DECL */
- TERMP_UNDERLINE, /* TTYPE_VAR_DECL */
- TERMP_UNDERLINE, /* TTYPE_FUNC_TYPE */
+ TERMP_UNDER, /* TTYPE_VAR_DECL */
+ TERMP_UNDER, /* TTYPE_FUNC_TYPE */
TERMP_BOLD, /* TTYPE_FUNC_NAME */
- TERMP_UNDERLINE, /* TTYPE_FUNC_ARG */
- TERMP_UNDERLINE, /* TTYPE_LINK */
+ TERMP_UNDER, /* TTYPE_FUNC_ARG */
+ TERMP_UNDER, /* TTYPE_LINK */
TERMP_BOLD, /* TTYPE_SSECTION */
- TERMP_UNDERLINE, /* TTYPE_FILE */
- TERMP_UNDERLINE, /* TTYPE_EMPH */
+ TERMP_UNDER, /* TTYPE_FILE */
+ TERMP_UNDER, /* TTYPE_EMPH */
TERMP_BOLD, /* TTYPE_CONFIG */
TERMP_BOLD, /* TTYPE_CMD */
TERMP_BOLD, /* TTYPE_INCLUDE */
TERMP_BOLD, /* TTYPE_SYMB */
TERMP_BOLD, /* TTYPE_SYMBOL */
TERMP_BOLD, /* TTYPE_DIAG */
- TERMP_UNDERLINE, /* TTYPE_LINK_ANCHOR */
+ TERMP_UNDER, /* TTYPE_LINK_ANCHOR */
TERMP_BOLD, /* TTYPE_LINK_TEXT */
- TERMP_UNDERLINE /* TTYPE_REF_TITLE */
+ TERMP_UNDER /* TTYPE_REF_TITLE */
};
static int arg_hasattr(int, const struct mdoc_node *);