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:
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
Block a user