tweaks: unglobalize the nodelay_mode variable

master
Benno Schulenberg 2017-06-04 12:15:26 +02:00
parent 621eb904b3
commit 16482f99b8
3 changed files with 2 additions and 5 deletions

View File

@ -149,9 +149,6 @@ char *quoteerr = NULL;
char *word_chars = NULL;
/* Nonalphanumeric characters that also form words. */
bool nodelay_mode = FALSE;
/* Are we checking for a cancel wile doing something? */
char *answer = NULL;
/* The answer string used by the statusbar prompt. */

View File

@ -121,8 +121,6 @@ extern char *quoteerr;
extern char *word_chars;
extern bool nodelay_mode;
extern char *answer;
extern ssize_t tabsize;

View File

@ -45,6 +45,8 @@ static size_t key_buffer_len = 0;
/* The length of the keystroke buffer. */
static bool solitary = FALSE;
/* Whether an Esc arrived by itself -- not as leader of a sequence. */
static nodelay_mode = FALSE;
/* Whether we will check for a Cancel now and then during a search. */
static int statusblank = 0;
/* The number of keystrokes left before we blank the statusbar. */
#ifdef USING_OLD_NCURSES