]> gitweb.factorcode.org Git - factor.git/commitdiff
io.streams.256color: use call-next-method.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Feb 2020 17:35:57 +0000 (09:35 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Feb 2020 17:35:57 +0000 (09:35 -0800)
extra/io/streams/256color/256color.factor

index a8b44baaae2f6928446fdb3f4582a7c1cd9d52c1..1b61e040e2b80cd9233b5d78f21ab16b4d7cb4e8 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 stream>> stream-write ;
+    ] dip call-next-method ;
 
 M: 256color make-span-stream
     swap <style-stream> <ignore-close-stream> ;