diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-26 19:34:23 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-26 19:34:23 +0100 |
| commit | 2b48814d3b685d1527e1d17ab939be71ff6b8c55 (patch) | |
| tree | bae0ba4d6f8a393b31b688190c332846af17b5da /src/shell.c | |
| parent | 679fac1f8be87ccb431d1ce981e98bdbfbd61dd8 (diff) | |
| download | nissy-2b48814d3b685d1527e1d17ab939be71ff6b8c55.tar.gz nissy-2b48814d3b685d1527e1d17ab939be71ff6b8c55.zip | |
Fixing the fix (the previous commit introduced a bug when the step was not specified) + minor fixes in shell
Diffstat (limited to 'src/shell.c')
| -rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index a23ea06..8bc2e0b 100644 --- a/src/shell.c +++ b/src/shell.c | |||
| @@ -69,7 +69,7 @@ launch() | |||
| 69 | ); | 69 | ); |
| 70 | 70 | ||
| 71 | while (true) { | 71 | while (true) { |
| 72 | fprintf(stderr, "nissy-# "); | 72 | fprintf(stdout, "nissy-# "); |
| 73 | if (fgets(line, MAXLINELEN, stdin) == NULL) | 73 | if (fgets(line, MAXLINELEN, stdin) == NULL) |
| 74 | break; | 74 | break; |
| 75 | shell_argc = parseline(line, shell_argv); | 75 | shell_argc = parseline(line, shell_argv); |
