Linus Groh пре 5 година
родитељ
комит
79539378c6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Userland/js.cpp

+ 1 - 0
Userland/js.cpp

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