go back to xterm - 256 colors extn makes apps look like arse.

SVN revision: 74480
This commit is contained in:
Carsten Haitzler 2012-07-27 09:41:58 +00:00
parent f0a7bfd2d9
commit 6f3f7c10f9
1 changed files with 2 additions and 2 deletions

View File

@ -310,8 +310,8 @@ termpty_new(const char *cmd, int w, int h, int backscroll)
/* TODO: should we reset signals here? */
// pretend to be xterm
// putenv("TERM=xterm");
putenv("TERM=xterm-256color");
putenv("TERM=xterm");
// putenv("TERM=xterm-256color");
putenv("XTERM_256_COLORS=1");
execvp(args[0], (char *const *)args);
exit(127); /* same as system() for failed commands */