fonts: simplify reverse-video-font

master
John Benediktsson 2020-09-22 13:05:17 -07:00
parent 11f060719a
commit 16b144eaf5
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ TUPLE: font name size bold? italic? foreground background ;
: reverse-video-font ( font -- font )
clone dup
[ foreground>> ] [ background>> ] bi
[ >>background ] [ >>foreground ] bi* ;
[ foreground>> >>background ]
[ background>> >>foreground ] bi ;
: derive-font ( base font -- font' )
[