about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-03 08:03:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-03 08:03:15 -0700
commit834377d6e3107680eb4490c5018ccc74fe566494 (patch)
treeec81a91b3591034dd1ee3954e25a9f217e645d6e
parentaad64de236be1dec05967fa7f34cdad159a3c7fd (diff)
downloadmu-834377d6e3107680eb4490c5018ccc74fe566494.tar.gz
.
-rw-r--r--514gap-buffer.mu1
-rw-r--r--shell/main.mu2
2 files changed, 1 insertions, 2 deletions
diff --git a/514gap-buffer.mu b/514gap-buffer.mu
index 4acab54d..a5a7273e 100644
--- a/514gap-buffer.mu
+++ b/514gap-buffer.mu
@@ -49,7 +49,6 @@ fn gap-buffer-capacity _gap: (addr gap-buffer) -> _/edx: int {
   return result
 }
 
-# just for tests
 fn initialize-gap-buffer-with self: (addr gap-buffer), keys: (addr array byte) {
   initialize-gap-buffer self, 0x40/capacity
   var input-stream-storage: (stream byte 0x40/capacity)
diff --git a/shell/main.mu b/shell/main.mu
index 7e4bc32c..1f0e2de9 100644
--- a/shell/main.mu
+++ b/shell/main.mu
@@ -6,7 +6,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
   var env/esi: (addr environment) <- address env-storage
   initialize-environment env, 0x20/fake-screen-width, 8/fake-screen-height
   load-state env, data-disk
-  $main:loop: {
+  {
     render-environment screen, env
     # no way to quit right now; just reboot
     {