mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Introduced tty_configure()
Moved tty configuration actions to tty_configure() in tty.c. This way options.c is strictly about parsing options nothing else.
This commit is contained in:
parent
1f45b8d91d
commit
e920cc9b32
5 changed files with 205 additions and 197 deletions
|
|
@ -39,6 +39,9 @@ int main(int argc, char *argv[])
|
|||
/* Parse options */
|
||||
parse_options(argc, argv);
|
||||
|
||||
/* Configure tty device */
|
||||
tty_configure();
|
||||
|
||||
/* Configure output terminal */
|
||||
stdout_configure();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue