diff options
author | Nicholas Noll <nnoll523@gmail.com> | 2021-10-26 14:11:25 -0700 |
---|---|---|
committer | Nicholas Noll <nnoll523@gmail.com> | 2021-10-26 14:11:25 -0700 |
commit | e34a4791b72e426b02f33496fe03be1ad81819a6 (patch) | |
tree | 85db47712e9218f172d47b394e8e4099232a159b /sys/cmd/rc/exec.c | |
parent | 2416a8654e3c1a4b74fcc0379dac5294670a1f46 (diff) |
fix(rc): prompt during command entry
Diffstat (limited to 'sys/cmd/rc/exec.c')
-rw-r--r-- | sys/cmd/rc/exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cmd/rc/exec.c b/sys/cmd/rc/exec.c index 5f3c6d6..1b311ec 100644 --- a/sys/cmd/rc/exec.c +++ b/sys/cmd/rc/exec.c @@ -914,6 +914,8 @@ Xreadcmd(void) flush(shell.err); root = runner; + shell.prompt = "> "; + if(yyparse()){ // resource cleanup? if(runner->flag.eof) |