Skip to content

Commit

Permalink
add an extra 0 for initial prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Sep 24, 2024
1 parent 57c37f8 commit 42fc32e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools-poly/holrepl.ML
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ fun topLevel diag {nameSpace, exitLoop, exitOnError, isInteractive, zeroTerm,
if zeroTerm then
let
val endOfCommand = ref false;

(* Initial prompt / end of splash message *)
val () = printOut "\000";

(* Each character typed is fed into the compiler but a "\0"
terminates the input. *)
fun readin () =
Expand Down

0 comments on commit 42fc32e

Please sign in to comment.