summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 16:46:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-12 16:46:28 +0000
commit4daffc849bbddd623b910e2b63a734fb4d03d633 (patch)
tree7e77fd405e874037bb8a3074b6da9ef84de5d02d /man_term.c
parent2c120582ef488979d4fe93a2b6a88f498dac4a3b (diff)
downloadmandoc-4daffc849bbddd623b910e2b63a734fb4d03d633.tar.gz
End-of-sentence spacing for -man -Tascii.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 58f424ca..a070648b 100644
--- a/man_term.c
+++ b/man_term.c
@@ -842,6 +842,9 @@ print_man_node(DECL_ARGS)
if ( ! (MAN_NOTEXT & termacts[n->tok].flags))
term_fontrepl(p, TERMFONT_NONE);
}
+
+ if (MAN_EOS & n->flags)
+ p->flags |= TERMP_SENTENCE;
}