Kernel: Add bareboness possibility to set termios

This commit is contained in:
Bananymous
2023-05-16 19:22:10 +03:00
parent 82dcec9576
commit 1658e925f2
8 changed files with 198 additions and 2 deletions

View File

@@ -8,7 +8,6 @@
#include <kernel/Terminal/termios.h>
#include <kernel/Semaphore.h>
namespace Kernel
{
@@ -17,7 +16,8 @@ namespace Kernel
public:
TTY(TerminalDriver*);
void set_termios(const termios& termios) { m_termios = termios; }
void set_termios(const termios& termios) { m_termios = termios; }
termios get_termios() const { return m_termios; }
void set_font(const Kernel::Font&);
uint32_t height() const { return m_height; }