diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-09-20 13:54:27 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-09-20 13:54:53 -0700 |
commit | ad35aef12a26805dc2067f6562ebfd3c13d7892e (patch) | |
tree | 0bc2c127d08cede833c8c3d463040231c5143f65 /apps | |
parent | 022595a20a66d09a1e1a9e0c0a7d9eb07b4e863f (diff) | |
download | mu-ad35aef12a26805dc2067f6562ebfd3c13d7892e.tar.gz |
6822
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tile/environment.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 355572b6..257e2c6f 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -207,7 +207,7 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad curr-row <- add 6 # input-row 3 + stack-margin-top 3 curr-row <- subtract stack-remaining # highlight item just added - start-color screen, 0, 2 + start-color screen, 0, 2 # green background { compare stack-remaining, 0 break-if-<= @@ -219,7 +219,7 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad var safe-next-word?/eax: boolean <- next-word-is-number? final-word compare safe-next-word?, 0 # false break-if-!= - start-color screen, 0, 1 + start-color screen, 0, 9 # red background } { var val/eax: int <- pop-int-stack stack-addr |