Support 256color (and assume 256color terminal). Closes #3 github issue.

This commit is contained in:
Keith Winstein
2012-03-16 04:40:18 -04:00
parent bdcdad7081
commit 57d97209c0
5 changed files with 63 additions and 10 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ int main( void )
if ( child == 0 ) {
/* child */
if ( setenv( "TERM", "xterm", true ) < 0 ) {
if ( setenv( "TERM", "xterm-256color", true ) < 0 ) {
perror( "setenv" );
exit( 1 );
}