mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat: Add certs, init, io_uring, security, usr, virt subsystems, Nano editor & full LazyBox suite
This commit is contained in:
1 parent
ae5f4a96c4
commit
5662be29f5
27 files changed
+1870
-333
No files matched your search
@@ -99,9 +99,11 @@ static void keyboard_interrupt_handler(registers_t* regs) {
|
||||
}
|
||||
|
||||
if (ctrl_pressed) {
|
||||
if (scancode == 0x2E) { buffer_enqueue(0x03); return; } // Ctrl+C
|
||||
if (scancode == 0x26) { buffer_enqueue(0x0C); return; } // Ctrl+L
|
||||
if (scancode == 0x20) { buffer_enqueue(0x04); return; } // Ctrl+D
|
||||
char base = scancode_ascii[scancode];
|
||||
if (base >= 'a' && base <= 'z') {
|
||||
buffer_enqueue((uint16_t)(base - 'a' + 1));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
bool use_shift = shift_pressed ^ capslock;
|
||||
|
||||
Reference in new issue
Block a user