From b15f1b73e8089d4900847193033d835b2d387dd9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 15 Feb 2021 13:08:14 -0800 Subject: 7749 Forget about support for quitting for now. Quit by rebooting the computer or VM. --- baremetal/shell/line.mu | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'baremetal') 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 -- cgit 1.4.1-2-gfad0