mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Minor TTY tweak.
This commit is contained in:
parent
d2046e79cf
commit
4e2c2b9748
2 changed files with 10 additions and 2 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
void set_termios(const Unix::termios&);
|
||||
bool should_generate_signals() const { return m_termios.c_lflag & ISIG; }
|
||||
bool should_echo_input() const { return m_termios.c_lflag & ECHO; }
|
||||
bool in_canonical_mode() const { return m_termios.c_lflag & ICANON; }
|
||||
|
||||
protected:
|
||||
virtual bool isTTY() const final override { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue