From 9a0208fe9619f63eeb67e8d5b1a26232fee346fb Mon Sep 17 00:00:00 2001 From: Ry Date: Fri, 20 Jan 2023 23:30:43 -0800 Subject: [PATCH] terminal: Ignore CTRL key presses --- applications/terminal/main.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/terminal/main.asm b/applications/terminal/main.asm index f544075..98fcb30 100644 --- a/applications/terminal/main.asm +++ b/applications/terminal/main.asm @@ -46,6 +46,8 @@ mouse_down: key_down: mov r0, r1 + cmp.8 r0, KEY_CTRL + ifz jmp event_loop_end cmp.8 r0, KEY_LSHIFT ifz push event_loop_end ifz jmp shift_pressed @@ -63,6 +65,8 @@ key_down: key_up: mov r0, r1 + cmp.8 r0, KEY_CTRL + ifz jmp event_loop_end cmp.8 r0, KEY_LSHIFT ifz push event_loop_end ifz jmp shift_released