about summary refs log tree commit diff stats
path: root/baremetal/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-15 13:08:14 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-15 13:08:19 -0800
commitb15f1b73e8089d4900847193033d835b2d387dd9 (patch)
tree4a9c69bdfa6b1d28e2078c979e167ac763bcfd5c /baremetal/shell
parentd6e2ba80dd01c6a974aceb40d4bcff7e23c047e9 (diff)
downloadmu-b15f1b73e8089d4900847193033d835b2d387dd9.tar.gz
7749
Forget about support for quitting for now. Quit by rebooting the computer
or VM.
Diffstat (limited to 'baremetal/shell')
-rw-r--r--baremetal/shell/line.mu4
1 files changed, 1 insertions, 3 deletions
diff --git a/baremetal/shell/line.mu b/baremetal/shell/line.mu
index 1b691423..f476e910 100644
--- a/baremetal/shell/line.mu
+++ b/baremetal/shell/line.mu
@@ -216,7 +216,7 @@ fn main {
   var line-storage: line
   var line/esi: (addr line) <- address line-storage
   initialize-line line
-  $main:loop: {
+  {
     clear-screen 0/screen
     var dummy1/eax: int <- copy 0
     var dummy2/ecx: int <- copy 0
@@ -225,8 +225,6 @@ fn main {
       var key/eax: byte <- read-key 0/keyboard
       compare key, 0
       loop-if-=
-      compare key, 0x71/q
-      break-if-= $main:loop
       edit-line line, key
     }
     loop