1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:38:11 +00:00

js: Add lines to history

This commit is contained in:
Linus Groh 2020-04-04 22:27:21 +01:00 committed by Andreas Kling
parent d84de532f1
commit 79539378c6

View file

@ -75,6 +75,7 @@ String read_next_piece()
prompt_builder.append(" ");
String line = editor->get_line(prompt_builder.build());
editor->add_to_history(line);
piece.append(line);
auto lexer = JS::Lexer(line);