Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://github.com/atomontage/xterm-color

That looked like the way to do it but I haven't tried yet.



I tried and it mostly works, but for rustc/cargo in particular you also have to set the $TERM environment variable to "xterm" [1].

[1] https://github.com/rust-lang/rust/issues/45728#issuecomment-...


Interestingly, I've gotten used to checking $TERM and making sure it's set due to entering Docker containers to poke around them: in a lot of images, it's unset, and you get really old-school terminal emulator behaviour without it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: