1
0
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:
Delyan Angelov 2022-03-20 23:04:20 +02:00
parent caa0e25939
commit 7216b5df11
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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)
}