13 #define INPUT_DELAY 200 // half-blocking delay timer resolution (ms) 14 #define INPUT_DELAY_TIMEOUT 1000 // half-blocking delay timeout 38 }
else {
return ERR; }
43 if (
m_echo && (
c >= 32 &&
c <= 126 ) )
102 if ( n == 0 && (
c >= 32 &&
c <= 126 ) ) {
106 if (
c >= 32 &&
c <= 126 ) {
static __always_inline void off_t int c
int wgetch(WINDOW *win)
Pop a character from the FIFO into a window.
static int _wgetc(WINDOW *win)
MuCurses core implementation specific header file.
#define KEY_MIN
Minimum value for special keypresses.
#define INPUT_DELAY_TIMEOUT
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
bool(* peek)(struct _curses_screen *scr)
Checks to see whether a character is waiting in the input stream.
SCREEN * scr
screen with which window associates
attr_t attrs
window attributes
int wdelch(WINDOW *win)
Delete character under the cursor in a window.
void _wputch(WINDOW *win, chtype ch, int wrap) __nonnull
Write a single character rendition to a window.
int(* getc)(struct _curses_screen *scr)
Pop a character from the keyboard input stream.
int wgetnstr(WINDOW *win, char *str, int n)
Read at most n characters from the FIFO into a window.
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
static struct timer * timer
Current timer.
void _wcursback(WINDOW *win) __nonnull
Retreat the cursor back one position (useful for a whole host of ops)
int beep(void)
Audible signal.
#define NULL
NULL pointer (VOID *)
#define KEY_LEFT
Left arrow.