diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Utilities/js.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp index 69e45a178d..a4beb6ff20 100644 --- a/Userland/Utilities/js.cpp +++ b/Userland/Utilities/js.cpp @@ -121,6 +121,7 @@ static String read_next_piece() s_editor->add_to_history(line); piece.append(line); + piece.append('\n'); auto lexer = JS::Lexer(line); enum { |