Skip to content

Commit

Permalink
sh: Fix problem with stray '\r' character that was introduced in prev…
Browse files Browse the repository at this point in the history
…ious change

Change-Id: I53148089bcb1989c129c7af465c724495e13e156
Signed-off-by: Mike Lockwood <[email protected]>
  • Loading branch information
mikeandroid committed Jun 2, 2010
1 parent cbbe79a commit 1bc4eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 1bc4eae

Please sign in to comment.