Compatibility fixes for tests.

This commit is contained in:
Dominik Pantůček 2023-07-02 07:55:55 +02:00
parent 64b0b7fa5c
commit 3b784243a1
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@
(map (lambda (sl)
(sgr-list->string sl
#:reset-state reset-state
#:strip-ansi strip-ansi?))
#:strip-ansi? strip-ansi?))
sb))
;; Returns the width of the longest SGR line in the block

View file

@ -62,7 +62,7 @@
(if (null? lst)
(string-intersperse (reverse res) "")
(loop (cdr lst)
(cons (let* ((chs (car lst))
(cons (let* ((chs (utf8-char->string (car lst)))
(ch1 (if (= (string-length chs) 1)
(string-ref chs 0)
(integer->char 31))))