diff --git a/sh/input.c b/sh/input.c index 9377bd02..bfb80f46 100644 --- a/sh/input.c +++ b/sh/input.c @@ -221,7 +221,7 @@ preadfd(void) /* Add non-blank lines to history. */ linenoiseHistoryAdd(rl_start); } - out2str("\r\n"); + out2str("\n"); /* Client expects a newline at end of input, doesn't expect null */ rl_start[el_len++] = '\n'; }