mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
tools: force showing V errors in color in interactive REPLs
This commit is contained in:
parent
caa0e25939
commit
7216b5df11
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue