summaryrefslogtreecommitdiffstats
path: root/src/cmd/9term/9term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9term/9term.c')
-rw-r--r--src/cmd/9term/9term.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 285878e8..c610e046 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -419,6 +419,16 @@ rcoutputproc(void *arg)
}
}
+void
+winterrupt(Window *w)
+{
+ char rubout[1];
+
+ USED(w);
+ rubout[0] = getintr(sfd);
+ write(rcfd, rubout, 1);
+}
+
/*
* Process in-band messages about window title changes.
* The messages are of the form: