js: Add lines to history

This commit is contained in:
Linus Groh 2020-04-04 22:27:21 +01:00 committed by Andreas Kling
commit 79539378c6
Notes: sideshowbarker 2024-07-19 07:55:05 +09:00

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