mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
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:
parent
57beed2e34
commit
6e2582787c
4 changed files with 57 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue