init ct_termio
This commit is contained in:
parent
7466d19c5e
commit
17d763c597
2 changed files with 40 additions and 0 deletions
19
src/termio.h
Normal file
19
src/termio.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef CURSETREE_TERMIO_H
|
||||
#define CURSETREE_TERMIO_H
|
||||
|
||||
#include "term.h"
|
||||
|
||||
enum crs_termmode {
|
||||
/* tty cbreak mode */
|
||||
TMODE_CBREAK,
|
||||
/* tty canonical mode */
|
||||
TMODE_CANON,
|
||||
/* tty raw mode */
|
||||
TMODE_RAW,
|
||||
/* tty cooked mode (ISIG & IXON not modified)*/
|
||||
TMODE_NOCBREAK,
|
||||
/* tty cooked mode (ISIG & IXON set) */
|
||||
TMODE_NORAW,
|
||||
};
|
||||
|
||||
#endif /* CURSETREE_TERMIO_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue