mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: force showing V errors in color in interactive REPLs
This commit is contained in:
parent
caa0e25939
commit
7216b5df11
@ -480,6 +480,9 @@ fn main() {
|
||||
println(' ... where vexepath is the full path to the v executable file')
|
||||
return
|
||||
}
|
||||
if !is_stdin_a_pipe {
|
||||
os.setenv('VCOLORS', 'always', true)
|
||||
}
|
||||
run_repl(replfolder, replprefix)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user