Windows is returning the length of the string, plus the CRLF
delimiters, whereas wineconsole is returning one less.

diff --git a/dlls/kernel/editline.c b/dlls/kernel/editline.c
index b61b454..066522b 100644
--- a/dlls/kernel/editline.c
+++ b/dlls/kernel/editline.c
@@ -372,7 +372,8 @@
 static void WCEL_Done(WCEL_Context* ctx)
 {
     WCHAR       nl = '\n';
-    if (!WCEL_Grow(ctx, 1)) return;
+    if (!WCEL_Grow(ctx, 2)) return;
+    ctx->line[ctx->len++] = '\r';
     ctx->line[ctx->len++] = '\n';
     ctx->line[ctx->len] = 0;
     WriteConsoleW(ctx->hConOut, &nl, 1, NULL, NULL);