[PATCH] conhost: Process Ctrl-M (carriage return) key input
Hugh McMaster
hugh.mcmaster at outlook.com
Tue Dec 14 03:40:43 CST 2021
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50526
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
programs/conhost/conhost.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c
index 05447d52dd5..6bc0cc33bbd 100644
--- a/programs/conhost/conhost.c
+++ b/programs/conhost/conhost.c
@@ -356,7 +356,7 @@ static void update_output( struct screen_buffer *screen_buffer, RECT *rect )
if (screen_buffer->console->window)
{
- update_window_region( screen_buffer->console, rect );
+ update_window_region( screen_buffer->console, rect );
return;
}
if (!screen_buffer->console->tty_output) return;
@@ -1125,6 +1125,7 @@ static const struct edit_line_key_entry win32_std_key_map[] =
static const struct edit_line_key_entry win32_key_map_ctrl[] =
{
+ { 'M', edit_line_done },
{ VK_LEFT, edit_line_move_left_word },
{ VK_RIGHT, edit_line_move_right_word },
{ VK_END, edit_line_kill_suffix },
--
2.34.1
More information about the wine-devel
mailing list