curses.events (7a65641922f404b84e9a249d48593de84d8e8d17) curses.events (21817992b3314c908ab50f0bb88d2ee750b9c4ac)
1/* $Id*/
1/* $Id: curses.events,v 1.4 2024/01/19 09:24:17 tom Exp $ */
2/*
3 * vile:cmode:
4 * This file is part of ncurses, designed to be appended after curses.h.in
5 * (see that file for the relevant copyright).
6 */
7
8/*
9 * This is an extension to support events...

--- 35 unchanged lines hidden (view full) ---

45 int count;
46 int result_flags; /* _NC_EVENT_TIMEOUT_MSEC or _NC_EVENT_FILE_READABLE */
47 _nc_event *events[1];
48} _nc_eventlist;
49
50extern NCURSES_EXPORT(int) wgetch_events (WINDOW *, _nc_eventlist *) GCC_DEPRECATED(experimental option); /* experimental */
51extern NCURSES_EXPORT(int) wgetnstr_events (WINDOW *,char *,int,_nc_eventlist *) GCC_DEPRECATED(experimental option); /* experimental */
52
2/*
3 * vile:cmode:
4 * This file is part of ncurses, designed to be appended after curses.h.in
5 * (see that file for the relevant copyright).
6 */
7
8/*
9 * This is an extension to support events...

--- 35 unchanged lines hidden (view full) ---

45 int count;
46 int result_flags; /* _NC_EVENT_TIMEOUT_MSEC or _NC_EVENT_FILE_READABLE */
47 _nc_event *events[1];
48} _nc_eventlist;
49
50extern NCURSES_EXPORT(int) wgetch_events (WINDOW *, _nc_eventlist *) GCC_DEPRECATED(experimental option); /* experimental */
51extern NCURSES_EXPORT(int) wgetnstr_events (WINDOW *,char *,int,_nc_eventlist *) GCC_DEPRECATED(experimental option); /* experimental */
52
53#define KEY_EVENT 0633 /* We were interrupted by an event */
53#define KEY_EVENT 0634 /* We were interrupted by an event */
54
55#endif /* NCURSES_WGETCH_EVENTS */
54
55#endif /* NCURSES_WGETCH_EVENTS */