diff --git a/src/core.c/REPL.pm6 b/src/core.c/REPL.pm6 index 40433de64b5..0ff1800fb14 100644 --- a/src/core.c/REPL.pm6 +++ b/src/core.c/REPL.pm6 @@ -305,7 +305,7 @@ do { method repl-loop(*%adverbs) { if $*DISTRO.is-win { - say "To exit type 'exit' or '^C'"; + say "To exit type 'exit' or '^Z'"; } else { say "To exit type 'exit' or '^D'"; } diff --git a/t/02-rakudo/repl.t b/t/02-rakudo/repl.t index 5c13e99aa33..879f217f257 100644 --- a/t/02-rakudo/repl.t +++ b/t/02-rakudo/repl.t @@ -9,7 +9,7 @@ my $*REPL-SCRUBBER = -> $_ is copy { if $*DISTRO.is-win { s/^^ "You may want to `zef install Readline` or `zef install Linenoise`" " or use rlwrap for a line editor\n\n"//; - s/^^ "To exit type 'exit' or '^C'\n"//; + s/^^ "To exit type 'exit' or '^Z'\n"//; s:g/ ^^ "> " //; # Strip out the prompts s:g/ ">" $ //; # Strip out the final prompt s:g/ ^^ "* "+ //; # Strip out the continuation-prompts