Commit 4b5fa615 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
No related merge requests found
Showing with 9 additions and 6 deletions
+9 -6
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> 2014-04-14 Benno Schulenberg <bensberg@justemail.net>
* src/{proto.h,cut.c,nano.c,text.c}: Remove the unused parameter * src/{proto.h,cut.c,nano.c,text.c}: Remove the unused parameter
'file_bot' from copy_from_filestruct(), and rename the other. 'file_bot' from copy_from_filestruct(), and rename the other.
......
...@@ -1861,12 +1861,11 @@ void precalc_multicolorinfo(void) ...@@ -1861,12 +1861,11 @@ void precalc_multicolorinfo(void)
filestruct *fileptr, *endptr; filestruct *fileptr, *endptr;
time_t last_check = time(NULL), cur_check = 0; time_t last_check = time(NULL), cur_check = 0;
/* Let us get keypresses to see if the user is trying to /* Let us get keypresses to see if the user is trying to start
* start editing. We may want to throw up a statusbar * editing. Later we may want to throw up a statusbar message
* message before starting this later if it takes * before starting this if it takes too long to do this routine.
* too long to do this routine. For now silently * For now silently abort if they hit a key. */
* abort if they hit a key. */ nodelay(edit, TRUE);
nodelay(edit, FALSE);
for (; tmpcolor != NULL; tmpcolor = tmpcolor->next) { for (; tmpcolor != NULL; tmpcolor = tmpcolor->next) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment