Fixed not being able to quit

When gotty was waiting for a device to appear it was impossible to quit
using the ctrl-g ctrl-q sequence. This is now fixed.
This commit is contained in:
Martin Lund 2014-09-27 22:18:07 +02:00
parent 57beed2e34
commit 6e2582787c
4 changed files with 57 additions and 13 deletions

View file

@ -22,7 +22,11 @@
#ifndef TTY_H
#define TTY_H
#define CTRLG 0x07
#define CTRLQ 0x11
void configure_stdout(void);
void restore_stdout(void);
int connect_tty(void);
#endif