Compatibility fixes for tests.
This commit is contained in:
parent
64b0b7fa5c
commit
3b784243a1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue