summaryrefslogtreecommitdiff
path: root/src/init/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/shell.c')
-rw-r--r--src/init/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init/shell.c b/src/init/shell.c
index 130ae79..9510e0d 100644
--- a/src/init/shell.c
+++ b/src/init/shell.c
@@ -26,6 +26,7 @@ static int readline(char *buf, size_t max) {
pos--;
}
break;
+ case '\n':
case '\r':
printf("\n");
buf[pos++] = '\0';