mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Shell: Support basic line editing with left/right arrow keys.
This commit is contained in:
parent
8750f93201
commit
d53941a466
2 changed files with 38 additions and 6 deletions
|
@ -295,7 +295,7 @@ static int run_command(const String& cmd)
|
|||
|
||||
int rc = execvp(argv[0], const_cast<char* const*>(argv.data()));
|
||||
if (rc < 0) {
|
||||
perror("execvp");
|
||||
fprintf(stderr, "execvp(%s): %s\n", argv[0], strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue