exit REPL on Windows
parent
2a2b402277
commit
37e2da9d23
|
@ -853,7 +853,7 @@ fn new_v(args[]string) *V {
|
||||||
fn run_repl() []string {
|
fn run_repl() []string {
|
||||||
$if windows {
|
$if windows {
|
||||||
println('REPL does not work on Windows yet, sorry!')
|
println('REPL does not work on Windows yet, sorry!')
|
||||||
exit1()
|
exit(1)
|
||||||
}
|
}
|
||||||
println('V $Version')
|
println('V $Version')
|
||||||
println('Use Ctrl-D to exit')
|
println('Use Ctrl-D to exit')
|
||||||
|
|
Loading…
Reference in New Issue