Hugh McMaster : kernel32: Use Emacs keymap mode immediately after wineconsole configuration change.

Alexandre Julliard julliard at winehq.org
Tue Dec 13 16:36:23 CST 2016


Module: wine
Branch: master
Commit: 6a3ffc4f3fa4c3b11658dce4a941e9ffcbf34317
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6a3ffc4f3fa4c3b11658dce4a941e9ffcbf34317

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Tue Dec 13 11:09:23 2016 +0000

kernel32: Use Emacs keymap mode immediately after wineconsole configuration change.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/editline.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c
index e685e1e..415f28e 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -985,6 +985,8 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn, BOOL can_pos_cursor)
 	    }
 	}
 
+        CONSOLE_GetEditionMode(hConsoleIn, &use_emacs);
+
         GetConsoleMode(hConsoleIn, &mode);
         if (input_mode != mode)
         {




More information about the wine-cvs mailing list