view src/readline-1-input.patch @ 5186:af2966900462

suitesparse: update to v4.5.6 * src/suitesparse.mk: update version, checksum and build rules. * src/suitesparse-1-fixes.patch, srs/suitesparse-2-metis.patch: Add new patches. * src/suitesparse-1.patch: Remove old patch. * dist-files.mk: Update list.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 15 Oct 2019 19:13:54 +0200
parents 5049ab5e66f6
children 41e50d658de0
line wrap: on
line source

diff -ur readline-8.0.disp/input.c readline-8.0/input.c
--- readline-8.0.disp/input.c	2019-03-20 07:56:04.897036396 -0400
+++ readline-8.0/input.c	2019-03-20 08:00:45.403401856 -0400
@@ -519,7 +519,12 @@
 
 #if defined (__MINGW32__)
       if (isatty (fileno (stream)))
-	return (_getch ());	/* "There is no error return." */
+        {
+          int c = _getch ();
+          if (c == 0xe0)
+            rl_execute_next (_getch ());
+          return (c);
+        }
 #endif
       result = 0;
 #if defined (HAVE_PSELECT)