From e67e247b7160f7722b7110d2dc97ccd84a1ce5ca Mon Sep 17 00:00:00 2001 From: vyv03354 Date: Wed, 20 Feb 2019 22:10:03 +0900 Subject: [PATCH] Correctly restore Insert mode and QuickEdit mode --- wincon/pdcscrn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wincon/pdcscrn.c b/wincon/pdcscrn.c index 152d860c..7ca57ea9 100644 --- a/wincon/pdcscrn.c +++ b/wincon/pdcscrn.c @@ -628,7 +628,7 @@ void PDC_reset_shell_mode(void) SetConsoleActiveScreenBuffer(pdc_con_out); } - SetConsoleMode(pdc_con_in, old_console_mode); + SetConsoleMode(pdc_con_in, old_console_mode | 0x0080); } void PDC_restore_screen_mode(int i)