mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 06:39:17 +02:00
use string-append for building ansi escape codes
This commit is contained in:
parent
abfa6a724e
commit
05521e5e1d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
(else "0")))
|
||||
|
||||
(define (ansi-escape color)
|
||||
(each (integer->char 27) "[" (color->ansi color) "m"))
|
||||
(string-append (string (integer->char 27)) "[" (color->ansi color) "m"))
|
||||
|
||||
(define (colored new-color . args)
|
||||
(fn (color)
|
||||
|
|
Loading…
Add table
Reference in a new issue