1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

Some minor termios debugging output.

This commit is contained in:
Andreas Kling 2018-11-12 12:27:28 +01:00
parent f1404aa948
commit 1cf20a2fe2
3 changed files with 16 additions and 5 deletions

View file

@ -16,7 +16,8 @@ public:
void set_pgid(pid_t pgid) { m_pgid = pgid; }
pid_t pgid() const { return m_pgid; }
Unix::termios& termios() { return m_termios; }
const Unix::termios& termios() const { return m_termios; }
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; }