octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63400] [MXE Octave] Arrow keys not working in CLI
Date: Sat, 26 Nov 2022 12:20:19 -0500 (EST)

Update of bug #63400 (project octave):

                  Status:                    None => Patch Submitted        

    _______________________________________________________

Follow-up Comment #7:

I tried to better understand what the readline patches are actually doing. In
particular, the patch "readline-2-event-hook.patch".

I believe I got it to a point where the arrow keys are working again in the
CLI (and the GUI). Also, it is now possible to enter non-ASCII characters in
the command window. And random non-ASCII characters no longer lead to crashes
of the console host for me. 🎉

I don't know if any of those changes depend on a certain Windows version. The
used functions (`ReadConsoleInputW` and `WideCharToMultiByte`) should be
available in Windows 2000 and newer. I don't know if the characteristics of
the console changed at some point though. I am on Windows 11 if that should be
important.

I'm attaching a patch with the changes for MXE Octave. I'd appreciate if
someone could test them. (Maybe on other Windows versions?)
Also, any proof-reading would be much appreciated.


(file #54025)

    _______________________________________________________

Additional Item Attachment:

File name: bug63400-readline-unicode.patch Size:10 KB
   
<https://file.savannah.gnu.org/file/bug63400-readline-unicode.patch?file_id=54025>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63400>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]