follow-up bit for cursmisc.c
This commit is contained in:
@@ -24,11 +24,13 @@ static int curs_x = -1;
|
|||||||
static int curs_y = -1;
|
static int curs_y = -1;
|
||||||
|
|
||||||
static boolean modifiers_available =
|
static boolean modifiers_available =
|
||||||
#ifndef PDCURSES
|
#if defined(PDCURSES) && defined(PDC_KEY_MODIFIER_ALT)
|
||||||
FALSE;
|
|
||||||
#else
|
|
||||||
TRUE;
|
TRUE;
|
||||||
|
#else
|
||||||
|
FALSE;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PDCURSES) && defined(PDC_KEY_MODIFIER_ALT)
|
||||||
static unsigned long last_getch_modifiers = 0L;
|
static unsigned long last_getch_modifiers = 0L;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1096,7 +1098,7 @@ parse_escape_sequence(void)
|
|||||||
static void
|
static void
|
||||||
update_modifiers(void)
|
update_modifiers(void)
|
||||||
{
|
{
|
||||||
#ifdef PDCURSES
|
#if defined(PDCURSES) && defined(PDC_KEY_MODIFIER_ALT)
|
||||||
last_getch_modifiers = PDC_get_key_modifiers();
|
last_getch_modifiers = PDC_get_key_modifiers();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user