1
Fork 0
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:
Andreas Kling 2019-05-07 04:17:05 +02:00
parent 8750f93201
commit d53941a466
2 changed files with 38 additions and 6 deletions

View file

@ -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();