1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09: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
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);