6830 - tile: hash bg rather than fg color

This commit is contained in:
Kartik Agaram 2020-09-21 21:38:10 -07:00
parent e655f673b5
commit a4f5e38695
1 changed files with 2 additions and 2 deletions

View File

@ -260,8 +260,8 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad
# synaesthesia
fn render-integer screen: (addr screen), val: int {
var fg/eax: int <- hash-color val
start-color screen, fg, 7
var bg/eax: int <- hash-color val
start-color screen, 7, bg
print-grapheme screen, 0x20 # space
print-int32-decimal screen, val
print-grapheme screen, 0x20 # space