turns out that faking TERM wasn't such a good idea :3