diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-04-29 01:46:19 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-28 23:29:07 +0200 |
commit | 9473733d7aacf5fdde1bb608dbb5b6d23ad8506b (patch) | |
tree | 39585f8bb675c1d38efb5010d75ee20877b18c2a /Userland | |
parent | 7ecf29f206eb8e471a9efc77b3356f4881fd635c (diff) | |
download | serenity-9473733d7aacf5fdde1bb608dbb5b6d23ad8506b.zip |
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)
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/js.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/js.cpp b/Userland/js.cpp index b20e12a4cf..e2a4ed489c 100644 --- a/Userland/js.cpp +++ b/Userland/js.cpp @@ -430,7 +430,6 @@ int main(int argc, char** argv) s_editor->resized(); }); - s_editor->initialize(); s_editor->on_display_refresh = [syntax_highlight](Line::Editor& editor) { auto stylize = [&](Line::Span span, Line::Style styles) { if (syntax_highlight) |