Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Dec 11, 2024
2 parents 825a975 + c188f72 commit d26e836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prolog/metta_lang/metta_repl.pl
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,8 @@
% Read a line from the current input stream.
read_line_to_string(current_input, Line),
% switch prompts after the first line is read
prompt(_,'|'),
format(atom(T),'| ~t',[]),
prompt(_,T),
% Call repl_read_next with the new line concatenated to the accumulated input.
repl_read_next(Accumulated, Line, Expr).

Expand Down

0 comments on commit d26e836

Please sign in to comment.