about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-21 21:38:10 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-21 21:38:22 -0700
commita4f5e386951ff175e0fda97b9e2079a2bc6e171c (patch)
tree03da96cc9529ba2c07f209c4c8f9b42fb61f692c
parente655f673b5e1b421fbafe45f91e96ba6a7de4cfe (diff)
downloadmu-a4f5e386951ff175e0fda97b9e2079a2bc6e171c.tar.gz
6830 - tile: hash bg rather than fg color
-rw-r--r--apps/tile/environment.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 60771ec5..cbedece3 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -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