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

Alexandre Julliard julliard at winehq.org
Tue Feb 28 03:45:55 CST 2017


Module: wine
Branch: oldstable
Commit: 577b41b1560ff0f3696e27ea78dfca83fc36ec6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=577b41b1560ff0f3696e27ea78dfca83fc36ec6d

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>
(cherry picked from commit 6a3ffc4f3fa4c3b11658dce4a941e9ffcbf34317)
Signed-off-by: Michael Stefaniuc <mstefani 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 6d2ad17..9eda65f 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -984,6 +984,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