1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00

LibLine: Handle initialize() internally

This patch makes initialize() transparent to the users, but exposes it
publicly, as the users might need a copy of the default termios (i.e.
Shell)
This commit is contained in:
AnotherTest 2020-04-29 01:46:19 +04:30 committed by Andreas Kling
parent 7ecf29f206
commit 9473733d7a
4 changed files with 15 additions and 8 deletions

View file

@ -186,8 +186,6 @@ int main(int argc, char** argv)
if (argc == 1)
return usage();
editor.initialize();
StringBuilder command;
command.append(argv[1]);
for (int i = 2; i < argc; ++i) {