io.streams.256color: use call-next-method.
parent
b68a7fbd92
commit
2ee7235756
|
@ -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> ;
|
||||
|
|
Loading…
Reference in New Issue