diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-08-16 17:45:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-08-16 17:45:55 +0000 |
commit | 368eacd6aeb9b724a7361289892efe34491b54b5 (patch) | |
tree | 1615ba71b6282652de61ede9219ab45b50392a67 /term.h | |
parent | bf8f89c275e14bc95d284f7fed7a338d9b5c2f81 (diff) | |
download | mandoc-368eacd6aeb9b724a7361289892efe34491b54b5.tar.gz |
When starting a new input line, even when continuing the same output
line, use the current output position as the reference position
for tabs on that input line. This brings mandoc in line with the
behaviour of GNU, Heirloom, and Plan 9 roff.
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* $Id$ */ /* + * Copyright (c) 2011-2015,2017,2019,2022 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2011-2015, 2017, 2019 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -150,6 +150,7 @@ size_t term_len(const struct termp *, size_t); void term_tab_set(const struct termp *, const char *); void term_tab_iset(size_t); +void term_tab_ref(struct termp *); size_t term_tab_next(size_t); void term_tab_free(void); |