Use TERM env var / terminfo to decide whether to send ECH. Fixes tmux bug.

Closes #28 github issue.
This commit is contained in:
Keith Winstein
2012-03-10 05:41:03 -05:00
parent ac16f9127c
commit b8457dd308
13 changed files with 114 additions and 23 deletions
+2
View File
@@ -89,6 +89,8 @@ int main( int argc, char *argv[] )
} catch ( Crypto::CryptoException e ) {
fprintf( stderr, "Crypto exception: %s\r\n",
e.text.c_str() );
} catch ( std::string s ) {
fprintf( stderr, "Error: %s\r\n", s.c_str() );
}
printf( "\n[mosh is exiting.]\n" );