https://bugs.winehq.org/show_bug.cgi?id=41732
Bug ID: 41732 Summary: wineconsole: changing to emacs mode requires restart Product: Wine Version: 1.9.23 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Changing the wineconsole to emacs mode only takes effect after restarting the wineconsole.
In a newly created wineprefix: $ wineconsole Right-click -> Properties Setup - Current settings -> Configuration -> Choose Edition: Emacs -> Keep "Modify only current session" ==> Emacs shortcuts get printed literally to the command prompt. E.g. "foo" + "Ctrl" + "w" results in "foo^W" instead of moving "foo" to the buffer.
If I change it to Emacs and then choose "Retain these settings for later sessions" it works, but only after restarting the wineconsole. E.g. "foo" + "Ctrl" + "w" removes "foo" from the terminal prompt and puts it in the buffer.
The same if I directly change the defaults $ wineconsole Right-click -> Set defaults Setup - Default settings -> Configuration -> Choose Edition: Emacs ==> Shortcut is written literally to the command prompt. -> Restart wineconsole ==> Shortcut works as expected.