diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-07 15:50:16 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-07 15:50:16 -0800 |
commit | 8f34dfd1e09e9e33176bba8f05a2ec229cf3b56f (patch) | |
tree | 2a627da04cef70f856a712e9bd56d186c30aa8bc /baremetal/ex7.mu | |
parent | f626421bc4f526c48b789914a3a1e088a9250278 (diff) | |
download | mu-8f34dfd1e09e9e33176bba8f05a2ec229cf3b56f.tar.gz |
7693 - baremetal: pass background color everywhere
Diffstat (limited to 'baremetal/ex7.mu')
-rw-r--r-- | baremetal/ex7.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/baremetal/ex7.mu b/baremetal/ex7.mu index 82529644..d6bca444 100644 --- a/baremetal/ex7.mu +++ b/baremetal/ex7.mu @@ -20,28 +20,28 @@ fn main { compare key, 0x68/h break-if-!= var g/eax: grapheme <- copy 0x2d/dash - draw-grapheme-at-cursor 0/screen, g, 0x31 + draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg cursor-left 0 } { compare key, 0x6a/j break-if-!= var g/eax: grapheme <- copy 0x7c/vertical-bar - draw-grapheme-at-cursor 0/screen, g, 0x31 + draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg cursor-down 0 } { compare key, 0x6b/k break-if-!= var g/eax: grapheme <- copy 0x7c/vertical-bar - draw-grapheme-at-cursor 0/screen, g, 0x31 + draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg cursor-up 0 } { compare key, 0x6c/l break-if-!= var g/eax: grapheme <- copy 0x2d/dash - draw-grapheme-at-cursor 0/screen, g, 0x31 + draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg cursor-right 0 } loop |