mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
mc: use $termprog to identify 9term
TBR=rsc https://codereview.appspot.com/112890043
This commit is contained in:
parent
32c6e78c6c
commit
f5ae255cc3
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ getwidth(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if((p = getenv("TERM")) != nil && strcmp(p, "9term") == 0)
|
||||
if((p = getenv("termprog")) != nil && strcmp(p, "9term") == 0)
|
||||
if((p = getenv("font")) != nil)
|
||||
font = openfont(nil, p);
|
||||
|
||||
|
|
Loading…
Reference in a new issue