]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "io.streams.ansi: use call-next-method."
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 17 Feb 2020 15:09:12 +0000 (07:09 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 17 Feb 2020 15:09:12 +0000 (07:09 -0800)
This reverts commit dbb83b7100fc67714b009b3945516740bbf360d5.

extra/io/streams/ansi/ansi.factor

index 19440313ff04324bd3145a83d63106acec974c25..942eaa927993886d76806052dedad6d4c295c2c4 100644 (file)
@@ -64,7 +64,7 @@ M: ansi stream-format
         [ background of [ color>background ] [ "" ] if* ]
         [ font-style of [ font-styles ] [ "" ] if* ]
         tri 3append [ "\e[0m" surround ] unless-empty
-    ] dip call-next-method ;
+    ] dip stream>> stream-write ;
 
 M: ansi make-span-stream
     swap <style-stream> <ignore-close-stream> ;