aboutsummaryrefslogtreecommitdiff
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 5cf46dec..192a9bcf 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -448,6 +448,11 @@ winterrupt(Window *w)
write(rcfd, rubout, 1);
}
+int
+intrc() {
+ return getintr(sfd);
+}
+
/*
* Process in-band messages about window title changes.
* The messages are of the form: