mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
Kernel: Put termios debug spam behind TTY_DEBUG
This commit is contained in:
parent
cb59f9e0f2
commit
4edbcebeb4
1 changed files with 2 additions and 0 deletions
|
@ -225,6 +225,7 @@ void TTY::flush_input()
|
|||
void TTY::set_termios(const termios& t)
|
||||
{
|
||||
m_termios = t;
|
||||
#ifdef TTY_DEBUG
|
||||
dbg() << tty_name() << " set_termios: "
|
||||
<< "ECHO=" << should_echo_input()
|
||||
<< ", ISIG=" << should_generate_signals()
|
||||
|
@ -236,6 +237,7 @@ void TTY::set_termios(const termios& t)
|
|||
<< ", ICRNL=" << ((m_termios.c_iflag & ICRNL) != 0)
|
||||
<< ", INLCR=" << ((m_termios.c_iflag & INLCR) != 0)
|
||||
<< ", IGNCR=" << ((m_termios.c_iflag & IGNCR) != 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
int TTY::ioctl(FileDescription&, unsigned request, unsigned arg)
|
||||
|
|
Loading…
Add table
Reference in a new issue