mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Moved _getch_win_ from initscr.c to getch.c. For now, however, it's not
static, because it's also referenced in */pdckbd.c.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
# undef wmove
|
||||
#endif
|
||||
|
||||
RCSID("$Id: getch.c,v 1.31 2006/07/31 23:07:41 wmcbrine Exp $");
|
||||
RCSID("$Id: getch.c,v 1.32 2006/08/01 03:16:17 wmcbrine Exp $");
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -104,6 +104,8 @@ RCSID("$Id: getch.c,v 1.31 2006/07/31 23:07:41 wmcbrine Exp $");
|
||||
#define getch PDC_getch
|
||||
#define ungetch PDC_ungetch
|
||||
|
||||
WINDOW *_getch_win_ = NULL;
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
PDC_breakout() - check for type-ahead
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
# undef wnoutrefresh
|
||||
#endif
|
||||
|
||||
RCSID("$Id: initscr.c,v 1.64 2006/07/30 19:18:00 wmcbrine Exp $");
|
||||
RCSID("$Id: initscr.c,v 1.65 2006/08/01 03:16:17 wmcbrine Exp $");
|
||||
|
||||
const char *_curses_notice = "PDCurses 3.0 - Public Domain 2006";
|
||||
|
||||
@@ -60,8 +60,6 @@ int c_gindex = 1; /* getter index */
|
||||
int c_ungind = 0; /* wungetch() push index */
|
||||
int c_ungch[NUNGETCH]; /* array of ungotten chars */
|
||||
|
||||
WINDOW *_getch_win_ = NULL;
|
||||
|
||||
/* Global definitions for setmode routines */
|
||||
|
||||
struct cttyset c_sh_tty = {0}; /* tty modes for def_shell_mode */
|
||||
|
||||
Reference in New Issue
Block a user