Commit 3ebaa768 authored by deuce's avatar deuce
Browse files

Added WIN_EXTKEYS window flag

parent d84d10c0
......@@ -178,6 +178,9 @@
#define WIN_FAT (1<<20) /* Do not pad outside borders */
#define WIN_REDRAW (1<<21) /* Force redraw on dynamic window */
#define WIN_NODRAW (1<<22) /* Force not to redraw on dynamic window */
#define WIN_EXTKEYS (1<<23) /* Return on any keypress... if it's not handled internally
* Return value is -2 - keyvalue
*/
#define WIN_MID WIN_L2R|WIN_T2B /* Place window in middle of screen */
......
......@@ -1526,8 +1526,9 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(mode&WIN_DYN) {
save_menu_cur=*cur;
save_menu_bar=*bar;
return(-2-i);
}
if(mode&WIN_DYN || mode&WIN_EXTKEYS) {
return(-2-i);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment