[PATCH v2] conhost: Process Ctrl-M key input

Hugh McMaster hugh.mcmaster at outlook.com
Tue Dec 14 05:43:15 CST 2021


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50526
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
Changes in v2: Remove errant whitespace change.

 programs/conhost/conhost.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c
index 05447d52dd5..94dd050fd2f 100644
--- a/programs/conhost/conhost.c
+++ b/programs/conhost/conhost.c
@@ -1129,6 +1129,7 @@ static const struct edit_line_key_entry win32_key_map_ctrl[] =
     { VK_RIGHT, edit_line_move_right_word },
     { VK_END,   edit_line_kill_suffix     },
     { VK_HOME,  edit_line_kill_prefix     },
+    { 'M',      edit_line_done            },
     { 0 }
 };
 
-- 
2.34.1




More information about the wine-devel mailing list