forked from Bananymous/banan-os
Kernel: Fix TTY reading one keyevent after disabling input handling
This commit is contained in:
@@ -160,6 +160,7 @@ namespace Kernel
|
||||
BAN::WeakPtr<SharedFileData> m_shared_region;
|
||||
friend class FileBackedRegion;
|
||||
friend class SharedFileData;
|
||||
friend class TTY;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace Kernel
|
||||
static BAN::RefPtr<TTY> current();
|
||||
void set_as_current();
|
||||
|
||||
static void keyboard_task(void*);
|
||||
static void initialize_devices();
|
||||
void on_key_event(LibInput::KeyEvent);
|
||||
void handle_input_byte(uint8_t);
|
||||
|
||||
Reference in New Issue
Block a user