mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-29 13:49:47 +03:00
Actually setting the intended non-blocking input mode.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
ff8454a6f5
commit
4b5fa615ca
@ -1,3 +1,7 @@
|
||||
2014-04-15 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/nano.c (precalc_multicolorinfo): Actually set the intended
|
||||
non-blocking mode for keyboard input.
|
||||
|
||||
2014-04-14 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/{proto.h,cut.c,nano.c,text.c}: Remove the unused parameter
|
||||
'file_bot' from copy_from_filestruct(), and rename the other.
|
||||
|
11
src/nano.c
11
src/nano.c
@ -1861,12 +1861,11 @@ void precalc_multicolorinfo(void)
|
||||
filestruct *fileptr, *endptr;
|
||||
time_t last_check = time(NULL), cur_check = 0;
|
||||
|
||||
/* Let us get keypresses to see if the user is trying to
|
||||
* start editing. We may want to throw up a statusbar
|
||||
* message before starting this later if it takes
|
||||
* too long to do this routine. For now silently
|
||||
* abort if they hit a key. */
|
||||
nodelay(edit, FALSE);
|
||||
/* Let us get keypresses to see if the user is trying to start
|
||||
* editing. Later we may want to throw up a statusbar message
|
||||
* before starting this if it takes too long to do this routine.
|
||||
* For now silently abort if they hit a key. */
|
||||
nodelay(edit, TRUE);
|
||||
|
||||
for (; tmpcolor != NULL; tmpcolor = tmpcolor->next) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user