[PATCH] cmd: Save whole input history line again.
Bernhard Übelacker
bernhardu at mailbox.org
Fri May 8 04:44:54 CDT 2020
Since wine-5.5 cmd shows on cursor up just the half
of the last entered command.
A bisect points here:
commit ffe6548d6c55f81918e1aa63228b724cbe72e567
Date: Sat Mar 21 11:57:39 2020 +0100
server: Store length of console history lines instead of null-terminating them.
Signed-off-by: Bernhard Übelacker <bernhardu at mailbox.org>
---
server/console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/console.c b/server/console.c
index 5feb1c2ba7a..302be6a1c1a 100644
--- a/server/console.c
+++ b/server/console.c
@@ -1680,7 +1680,7 @@ DECL_HANDLER(append_console_input_history)
struct console_input *console;
if (!(console = console_input_get( req->handle, FILE_WRITE_PROPERTIES ))) return;
- console_input_append_hist( console, get_req_data(), get_req_data_size() / sizeof(WCHAR) );
+ console_input_append_hist( console, get_req_data(), get_req_data_size() );
release_object( console );
}
--
2.20.1
More information about the wine-devel
mailing list