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 ) : reverse-video-font ( font -- font )
clone dup clone dup
[ foreground>> ] [ background>> ] bi [ foreground>> >>background ]
[ >>background ] [ >>foreground ] bi* ; [ background>> >>foreground ] bi ;
: derive-font ( base font -- font' ) : derive-font ( base font -- font' )
[ [