diff options
Diffstat (limited to 'src')
-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); |