1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

exit REPL on Windows

This commit is contained in:
Alexander Medvednikov 2019-06-28 21:28:55 +02:00
parent 2a2b402277
commit 37e2da9d23

View File

@ -853,7 +853,7 @@ fn new_v(args[]string) *V {
fn run_repl() []string {
$if windows {
println('REPL does not work on Windows yet, sorry!')
exit1()
exit(1)
}
println('V $Version')
println('Use Ctrl-D to exit')