Skip to content
Snippets Groups Projects
Commit e9ea05d6 authored by rswindell's avatar rswindell
Browse files

Created K_NONE definition (use instead of 0 for no mode flags to getstr/getkey)

parent 2000a0ac
No related branches found
No related tags found
No related merge requests found
......@@ -654,6 +654,7 @@ typedef enum { /* Values for xtrn_t.event */
#define SS_FILEXFER (1L<<27) /* File transfer in progress, halt spy */
/* Bits in 'mode' for getkey and getstr */
#define K_NONE 0 /* Use as a place holder for no mode flags */
#define K_UPPER (1L<<0) /* Converts all letters to upper case */
#define K_UPRLWR (1L<<1) /* Upper/Lower case automatically */
#define K_NUMBER (1L<<2) /* Allow numbers only */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment