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:
parent
d84de532f1
commit
79539378c6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue