Mercurial > mxe-octave
view src/readline-1-input.patch @ 6453:86edd6018826 release
librsb: Update to version 1.3.0.1 (bug #61393).
* src/librsb.mk: Update version and checksum. (Temporarily) build without
librsbpp.
* src/librsb-1-setenv.patch, src/librsb-2-config.patch: Add patches for MinGW
(no setenv function) and for dependency on zlib.
* dist-files.mk: Add new files to dist.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 15 Oct 2022 14:46:51 +0200 |
parents | 41e50d658de0 |
children | 5ef7d51c2195 |
line wrap: on
line source
diff -ur readline-8.1.1/input.c readline-8.1.2/input.c --- readline-8.1.1/input.c 2020-12-19 07:54:06.883500144 -0500 +++ readline-8.1.2/input.c 2020-12-19 07:55:29.042995655 -0500 @@ -538,7 +538,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)