mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Kernel: Print all logbuffer from ConsoleDevice to debug Virtual Console
This commit is contained in:
parent
2e565f1b8a
commit
dbccfc3281
3 changed files with 35 additions and 5 deletions
|
@ -74,6 +74,7 @@ public:
|
|||
|
||||
public:
|
||||
static NonnullRefPtr<VirtualConsole> create(size_t index);
|
||||
static NonnullRefPtr<VirtualConsole> create_with_preset_log(size_t index, const CircularQueue<char, 16384>&);
|
||||
|
||||
virtual ~VirtualConsole() override;
|
||||
|
||||
|
@ -85,7 +86,8 @@ public:
|
|||
void emit_char(char);
|
||||
|
||||
private:
|
||||
VirtualConsole(const unsigned index);
|
||||
explicit VirtualConsole(const unsigned index);
|
||||
VirtualConsole(const unsigned index, const CircularQueue<char, 16384>&);
|
||||
// ^KeyboardClient
|
||||
virtual void on_key_pressed(KeyEvent) override;
|
||||
|
||||
|
@ -119,6 +121,8 @@ private:
|
|||
RecursiveSpinLock m_lock;
|
||||
|
||||
private:
|
||||
void initialize();
|
||||
|
||||
void invalidate_cursor(size_t row);
|
||||
|
||||
void clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue