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:
Martin Lund 2016-05-23 18:03:13 +02:00
parent 1f45b8d91d
commit e920cc9b32
5 changed files with 205 additions and 197 deletions

View file

@ -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();