diff options
author | Russ Cox <rsc@swtch.com> | 2014-07-09 10:26:09 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2014-07-09 10:26:09 -0400 |
commit | f5ae255cc3dbe7823cf2fdc3c2c94c363c5932a4 (patch) | |
tree | 31de07b450956597247a58c539e403ed8641af53 /src/cmd/draw | |
parent | 32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a (diff) | |
download | plan9port-f5ae255cc3dbe7823cf2fdc3c2c94c363c5932a4.tar.gz plan9port-f5ae255cc3dbe7823cf2fdc3c2c94c363c5932a4.tar.bz2 plan9port-f5ae255cc3dbe7823cf2fdc3c2c94c363c5932a4.zip |
mc: use $termprog to identify 9term
TBR=rsc
https://codereview.appspot.com/112890043
Diffstat (limited to 'src/cmd/draw')
-rw-r--r-- | src/cmd/draw/mc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/draw/mc.c b/src/cmd/draw/mc.c index de0f9bcc..3f9c21fb 100644 --- a/src/cmd/draw/mc.c +++ b/src/cmd/draw/mc.c @@ -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); |