extract WezTerm from interrogations

This commit is contained in:
nick black 2021-06-14 14:39:26 -04:00 committed by Nick Black
parent 412bd7450b
commit 966b2bc5ec

View File

@ -720,6 +720,8 @@ fprintf(stderr, "string terminator after %d [%s]\n", inits->stringstate, inits->
int xversion;
if(sscanf(inits->runstring, "XTerm(%d)", &xversion) == 1){
inits->qterm = TERMINAL_XTERM;
}else if(strncmp(inits->runstring, "WezTerm ", strlen("WezTerm ")) == 0){
inits->qterm = TERMINAL_WEZTERM;
}
break;
}case STATE_XTGETTCAP_TERMNAME1: