From c2e70e08c4a052a976c913961c21ebe72ab8111e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 26 Apr 2022 14:52:05 +0000 Subject: At the end of every tbl(7) cell, clear the \z state. This is needed because the TERMP_MULTICOL mode is designed such that term_tbl() buffers all the cells of the table row before the normal reset logic near the end of term_flushln() can be reached. This fixes an assertion failure triggered by \z near the end of a table cell, found by tb@ using afl(1). --- regress/tbl/data/escz_end.out_ascii | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 regress/tbl/data/escz_end.out_ascii (limited to 'regress/tbl/data/escz_end.out_ascii') diff --git a/regress/tbl/data/escz_end.out_ascii b/regress/tbl/data/escz_end.out_ascii new file mode 100644 index 00000000..f195c9c2 --- /dev/null +++ b/regress/tbl/data/escz_end.out_ascii @@ -0,0 +1,14 @@ +TBL-DATA-ESCZ_END(1) General Commands Manual TBL-DATA-ESCZ_END(1) + +NNAAMMEE + tbl-data-escz_end - z escape sequence at the end of a tbl(7) cell + +DDEESSCCRRIIPPTTIIOONN + initial text + + a b c + d e f + + final text + +OpenBSD April 26, 2022 TBL-DATA-ESCZ_END(1) -- cgit v1.2.3-56-ge451