mc: use $termprog to identify 9term
TBR=rsc https://codereview.appspot.com/112890043
This commit is contained in:
parent
32c6e78c6c
commit
f5ae255cc3
@ -297,7 +297,7 @@ getwidth(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((p = getenv("TERM")) != nil && strcmp(p, "9term") == 0)
|
if((p = getenv("termprog")) != nil && strcmp(p, "9term") == 0)
|
||||||
if((p = getenv("font")) != nil)
|
if((p = getenv("font")) != nil)
|
||||||
font = openfont(nil, p);
|
font = openfont(nil, p);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user