Skip to content

Commit

Permalink
On Windows EOF is ^Z
Browse files Browse the repository at this point in the history
  • Loading branch information
hankache committed Oct 15, 2019
1 parent c642a29 commit 9e70bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core.c/REPL.pm6
Expand Up @@ -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'";
}
Expand Down
2 changes: 1 addition & 1 deletion t/02-rakudo/repl.t
Expand Up @@ -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
Expand Down

0 comments on commit 9e70bde

Please sign in to comment.