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:
parent
d84de532f1
commit
79539378c6
Notes:
sideshowbarker
2024-07-19 07:55:05 +09:00
Author: https://github.com/linusg
Commit: 79539378c6
Pull-request: https://github.com/SerenityOS/serenity/pull/1628
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