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

extra/io/streams/256color/256color.factor

index 1b61e040e2b80cd9233b5d78f21ab16b4d7cb4e8..a8b44baaae2f6928446fdb3f4582a7c1cd9d52c1 100644 (file)
@@ -83,7 +83,7 @@ M: 256color 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: 256color make-span-stream
     swap <style-stream> <ignore-close-stream> ;