=================================================================== RCS file: /cvs/mandoc/term_ascii.c,v retrieving revision 1.67 retrieving revision 1.70 diff -u -p -r1.67 -r1.70 --- mandoc/term_ascii.c 2022/08/15 18:12:30 1.67 +++ mandoc/term_ascii.c 2025/06/26 17:26:23 1.70 @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.67 2022/08/15 18:12:30 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.70 2025/06/26 17:26:23 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014,2015,2017,2018,2020 Ingo Schwarze @@ -72,6 +72,7 @@ ascii_init(enum termenc enc, const struct manoutput *o p->maxtcol = 1; p->line = 1; + p->defindent = 5; p->defrmargin = p->lastrmargin = 78; p->fontq = mandoc_reallocarray(NULL, (p->fontsz = 8), sizeof(*p->fontq)); @@ -122,10 +123,6 @@ ascii_init(enum termenc enc, const struct manoutput *o } #endif - if (outopts->mdoc) { - p->mdocstyle = 1; - p->defindent = 5; - } if (outopts->indent) p->defindent = outopts->indent; if (outopts->width) @@ -196,7 +193,7 @@ terminal_sepline(void *arg) static size_t ascii_width(const struct termp *p, int c) { - return c != ASCII_BREAK && c != ASCII_NBRZW; + return c != ASCII_BREAK && c != ASCII_NBRZW && c != ASCII_TABREF; } void