mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
Kernel: Support userspace TTY graphics modesetting
This is a copy of linux's KDSETMODE/KDGETMODE console ioctl(2) interface.
This commit is contained in:
parent
bc4a0baa8f
commit
4b0be17c71
4 changed files with 28 additions and 2 deletions
|
@ -78,8 +78,9 @@ public:
|
|||
|
||||
void refresh_after_resolution_change();
|
||||
|
||||
bool is_graphical() { return m_graphical; }
|
||||
void set_graphical(bool graphical);
|
||||
// ^TTY
|
||||
virtual bool is_graphical() const override { return m_graphical; }
|
||||
virtual void set_graphical(bool graphical) override;
|
||||
|
||||
void emit_char(char);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue