diff --git a/src/terminal/get.c b/src/terminal/get.c index 4a7279f..eb927dc 100644 --- a/src/terminal/get.c +++ b/src/terminal/get.c @@ -14,7 +14,7 @@ uint8_t terminal_getkey(void) scan_code = inb(KEYBOARD_PORT); if (scan_code == 0x3A || scan_code == 0x58) { caps_mode = !caps_mode; - outb(0xED, (caps_mode << 2)); + outb(0xED, (caps_mode << 2)); // turn on/off capslock led } else if (scan_code == KEY_RIGHT_SHIFT || scan_code == KET_LEFT_SHIFT) caps_mode = true;