io.streams.256color: use call-next-method.

flac
John Benediktsson 2020-02-15 09:35:57 -08:00 committed by Steve Ayerhart
parent b68a7fbd92
commit 2ee7235756
No known key found for this signature in database
GPG Key ID: 5BFD39C5359E967D
1 changed files with 1 additions and 1 deletions

View File

@ -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> ;