io.streams.256color: use call-next-method.
parent
b68a7fbd92
commit
2ee7235756
|
@ -83,7 +83,7 @@ M: 256color stream-format
|
||||||
[ background of [ color>background ] [ "" ] if* ]
|
[ background of [ color>background ] [ "" ] if* ]
|
||||||
[ font-style of [ font-styles ] [ "" ] if* ]
|
[ font-style of [ font-styles ] [ "" ] if* ]
|
||||||
tri 3append [ "\e[0m" surround ] unless-empty
|
tri 3append [ "\e[0m" surround ] unless-empty
|
||||||
] dip stream>> stream-write ;
|
] dip call-next-method ;
|
||||||
|
|
||||||
M: 256color make-span-stream
|
M: 256color make-span-stream
|
||||||
swap <style-stream> <ignore-close-stream> ;
|
swap <style-stream> <ignore-close-stream> ;
|
||||||
|
|
Loading…
Reference in New Issue