summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vt/cons.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-04-18 00:18:03 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-04-18 00:18:03 +0200
commit1333b4d14e088d018a485e6b9b034449032267f4 (patch)
tree11a81c8dceb06c88dd1eed295cd22249a10b295c /sys/src/cmd/vt/cons.h
parent1f3f4cd06bccbaa68e34a7e5d5008c8e788e5db2 (diff)
vt: convert from event to threads
the event library doesnt do any flow control. if the host keeps sending data while the user is mousing arround, extract() will collect the data until memory fills up. so instead we abandon the event library and convert the program to use channels.
Diffstat (limited to 'sys/src/cmd/vt/cons.h')
-rw-r--r--sys/src/cmd/vt/cons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vt/cons.h b/sys/src/cmd/vt/cons.h
index fbf022953..f415e4d3b 100644
--- a/sys/src/cmd/vt/cons.h
+++ b/sys/src/cmd/vt/cons.h
@@ -81,7 +81,7 @@ extern Image *fgdefault;
extern int cursoron;
extern int nocolor;
-extern void curson(int);
+extern void curson(void);
extern void cursoff(void);
extern void setdim(int, int);