Prepare for ANSI resets.

This commit is contained in:
Dominik Pantůček 2023-06-15 16:39:13 +02:00
parent 0806be2420
commit 60850f60b0
2 changed files with 13 additions and 8 deletions

View file

@ -75,7 +75,8 @@
#:border (border-spec '((none ...) ...))
#:widths (widths-spec '(0 ...))
#:width (width #f)
#:unicode? (unicode? (eq? (*table-border-style*) 'unicode)))
#:unicode? (unicode? (eq? (*table-border-style*) 'unicode))
#:ansi-reset? (ansi-reset? #f))
(let-values (((ptbl col-widths)
(table-prepare tbl width widths-spec)))
(let* ((num-columns (length (car tbl)))