diff --git a/extra/io/streams/ansi/ansi.factor b/extra/io/streams/ansi/ansi.factor index 65c47c3069..942eaa9279 100644 --- a/extra/io/streams/ansi/ansi.factor +++ b/extra/io/streams/ansi/ansi.factor @@ -54,15 +54,10 @@ CONSTANT: colors H{ { bold-italic "\e[1m\e[3m" } } at "" or ; -TUPLE: ansi stream ; +TUPLE: ansi < filter-writer ; C: ansi -M: ansi stream-write1 stream>> stream-write1 ; -M: ansi stream-write stream>> stream-write ; -M: ansi stream-flush stream>> stream-flush ; -M: ansi stream-nl stream>> stream-nl ; - M: ansi stream-format [ [ foreground of [ color>foreground ] [ "" ] if* ]