mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added TERMMODE_NONBLOCK.
This allows user-space to query whether data is available.
This commit is contained in:
parent
ecc3114f2a
commit
f6f0d24b5c
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
#define TERMMODE_UTF8 (1U<<3U)
|
#define TERMMODE_UTF8 (1U<<3U)
|
||||||
#define TERMMODE_LINEBUFFER (1U<<4U)
|
#define TERMMODE_LINEBUFFER (1U<<4U)
|
||||||
#define TERMMODE_ECHO (1U<<5U)
|
#define TERMMODE_ECHO (1U<<5U)
|
||||||
|
#define TERMMODE_NONBLOCK (1U<<6U)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue