mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Reconfigure stdin
Make stdin behave more raw'ish. In particular, don't translate CR -> NL on input.
This commit is contained in:
parent
b2aafd696b
commit
342a247efb
3 changed files with 56 additions and 11 deletions
|
|
@ -42,6 +42,9 @@ int main(int argc, char *argv[])
|
|||
/* Configure tty device */
|
||||
tty_configure();
|
||||
|
||||
/* Configure input terminal */
|
||||
stdin_configure();
|
||||
|
||||
/* Configure output terminal */
|
||||
stdout_configure();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue