From bba75900c0b05689d5e0b3eb7cc72b4041d1ca6e Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Thu, 27 Jul 2017 10:59:14 +0200 Subject: [PATCH] shell: mufs: show newline for each line to write --- source/shell/mufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shell/mufs.c b/source/shell/mufs.c index 5e2bf22..80a8581 100644 --- a/source/shell/mufs.c +++ b/source/shell/mufs.c @@ -193,7 +193,7 @@ static void do_mufs_write(struct console *con, const char **argv, size_t argc) while ((ret = console_read(con, data, sizeof data)) > 0) { mufs_write(file, data, ret); - fprintf(con->fp, "> "); + fprintf(con->fp, "\n> "); } mufs_close(file);