aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9term')
-rw-r--r--src/cmd/9term/9term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 12d4be03..469aea46 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -1013,10 +1013,11 @@ consread(void)
n = p-buf;
/*
- * We've been echoing, so make sure the terminal isn't
+ * If we've been echoing, make sure the terminal isn't
* while we do the write. This screws up if someone
- * else tries to turn on echo at the same time (we'll turn it
- * off again after the write), but that's not too likely.
+ * else tries to turn off echo at the same time we do
+ * (we'll turn it on again after the write), but that's not
+ * too likely.
*/
s = setecho(sfd, 0);
if(write(rcfd, buf, n) < 0)