1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v self: force the subprocess to show colors

This commit is contained in:
Delyan Angelov
2020-05-08 19:04:24 +03:00
parent 6ea741e26e
commit 4b347ff148
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,7 @@ fn main() {
vexe := pref.vexe_path()
vroot := os.dir(vexe)
os.chdir(vroot)
os.setenv('VCOLORS', 'always', true)
self_idx := os.args.index('self')
args := os.args[1..self_idx]