io.streams.256color: use filter-writer.

master
John Benediktsson 2020-02-15 08:57:18 -08:00
parent e822e78afd
commit 1e8b405307
1 changed files with 1 additions and 6 deletions

View File

@ -73,15 +73,10 @@ intensities [| r i |
{ bold-italic "\e[1m\e[3m" }
} at "" or ;
TUPLE: 256color stream ;
TUPLE: 256color < filter-writer ;
C: <256color> 256color
M: 256color stream-write1 stream>> stream-write1 ;
M: 256color stream-write stream>> stream-write ;
M: 256color stream-flush stream>> stream-flush ;
M: 256color stream-nl stream>> stream-nl ;
M: 256color stream-format
[
[ foreground of [ color>foreground ] [ "" ] if* ]