summaryrefslogtreecommitdiffstatshomepage
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
commit8a9955ded5b3519ff94525c0fb33216b517e64c7 (patch)
tree37ff1c7d61ecf008592578fb035e3bb7407ea139 /man_term.c
parent44eeeed4996450a9686898b0c9debcd16e456667 (diff)
downloadmandoc-8a9955ded5b3519ff94525c0fb33216b517e64c7.tar.gz
mandoc-8a9955ded5b3519ff94525c0fb33216b517e64c7.tar.zst
mandoc-8a9955ded5b3519ff94525c0fb33216b517e64c7.zip
End-of-sentence spacing for -man -Tascii.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index 7223fab2..fd88e2df 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.62 2010/05/10 08:31:41 kristaps Exp $ */
+/* $Id: man_term.c,v 1.63 2010/05/12 16:46:28 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;
}