summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
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 b5e0da70..33431749 100644
--- a/man_term.c
+++ b/man_term.c
@@ -910,8 +910,11 @@ print_man_node(DECL_ARGS)
(p->flags & TERMP_NONEWLINE) == 0)
term_newln(p);
p->flags |= TERMP_BRNEVER;
- } else
+ } else {
+ if (n->flags & NODE_LINE)
+ term_tab_ref(p);
p->flags &= ~TERMP_BRNEVER;
+ }
if (n->flags & NODE_ID)
term_tag_write(n, p->line);