aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/9term/9term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 0e64e143..ffaf5291 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -902,7 +902,9 @@ key(Rune r)
paste(&r, 1, 1);
t.qh = t.q0 = t.q1 = t.nr;
show(t.q0);
- postnote(PNGROUP, rcpid, "interrupt");
+ /* must write the interrupt character in case app is in raw mode (e.g., ssh) */
+ write(rcfd, "\x7F", 1);
+ // postnote(PNGROUP, rcpid, "interrupt");
return;
}