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

index 942eaa927993886d76806052dedad6d4c295c2c4..19440313ff04324bd3145a83d63106acec974c25 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 stream>> stream-write ;
+    ] dip call-next-method ;
 
 M: ansi make-span-stream
     swap <style-stream> <ignore-close-stream> ;