about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-14 20:27:43 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-14 20:27:43 -0800
commite996502f013f7b7060156b54feae5d9850aaf048 (patch)
treef61a6a1c889e1b2067baa953265253022c1fee1b /apps
parent6ecece2e703dc4d1c9dc3e27af7d7c8e2ada6582 (diff)
downloadmu-e996502f013f7b7060156b54feae5d9850aaf048.tar.gz
7237
Minor tweaks to get Mu shell running nicely on a Linux console atop Qemu.

We also need to switch a few 256-color codes to 8-color mode. I'm not
sure whether/how to patch the repo for those.
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/value.mu2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/tile/value.mu b/apps/tile/value.mu
index cd3e1594..b866d5c5 100644
--- a/apps/tile/value.mu
+++ b/apps/tile/value.mu
@@ -127,7 +127,6 @@ fn render-array-at screen: (addr screen), row: int, col: int, _a: (addr array va
 
 fn render-screen screen: (addr screen), row: int, col: int, _target-screen: (addr screen) {
   reset-formatting screen
-  start-color screen, 0xf2, 7
   move-cursor screen, row, col
   var target-screen/esi: (addr screen) <- copy _target-screen
   var ncols-a/ecx: (addr int) <- get target-screen, num-cols
@@ -154,7 +153,6 @@ fn render-screen screen: (addr screen), row: int, col: int, _target-screen: (add
   }
   increment row  # mutate arg
   move-cursor screen, row, col
-  start-color screen, 0xf2, 7
   print-lower-border screen, *ncols-a
 }