diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-05-20 08:54:38 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-05-20 08:54:38 -0400 |
| commit | c04811313b1094ea27e923bd35ad57737a8ab4bd (patch) | |
| tree | 2231039c38988665e62bafaa0ab47d829fc8cfb8 /src | |
| parent | b8781ead8406cf21603b0b2b4760f90e436f9c24 (diff) | |
Use the raw mode so we lose terminal echo
Diffstat (limited to 'src')
| -rw-r--r-- | src/ply-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ply-window.c b/src/ply-window.c index b1417c5..61c4fcc 100644 --- a/src/ply-window.c +++ b/src/ply-window.c @@ -150,7 +150,7 @@ ply_window_set_unbuffered_input (ply_window_t *window) struct termios term_attributes; tcgetattr (window->tty_fd, &term_attributes); - term_attributes.c_lflag &= ~ICANON; + cfmakeraw (&term_attributes); if (tcsetattr (window->tty_fd, TCSAFLUSH, &term_attributes) != 0) return false; |
