mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
extract WezTerm from interrogations
This commit is contained in:
parent
412bd7450b
commit
966b2bc5ec
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user