Skip to content
Snippets Groups Projects
Commit ec4d9480 authored by George Nachman's avatar George Nachman
Browse files

Prevent infocmp from spamming stdout when a new session is created. Fixes bug 1118.

parent 4b7a716d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -435,7 +435,7 @@ static NSString* SESSION_ARRANGEMENT_WORKING_DIRECTORY = @"Working Directory";
return;
}
NSString* cmd = [NSString stringWithFormat:@"tic -e xterm-256color %@", [filename stringWithEscapedShellCharacters]];
if (system("infocmp xterm-256color")) {
if (system("infocmp xterm-256color > /dev/null")) {
switch (NSRunAlertPanel(@"Warning",
@"The terminfo file for the terminal type you're using, \"xterm-256color\", is not installed on your system. Would you like to install it now?",
@"Install",
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment