tools: force showing V errors in color in interactive REPLs

pull/13785/head
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
1 changed files with 3 additions and 0 deletions

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