shithub: riscv

Download patch

ref: 378866d6d19d862e0f2a123e30cb8c357fd7017a
parent: 1333b4d14e088d018a485e6b9b034449032267f4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Apr 17 20:21:51 EDT 2017

vt: allow for a bit of buffering

--- a/sys/src/cmd/vt/main.c
+++ b/sys/src/cmd/vt/main.c
@@ -269,7 +269,7 @@
 	if((cs = consctl()) == nil)
 		sysfatal("consctl failed: %r");
 	cs->raw = rflag;
-	hc = chancreate(sizeof(Rune*), 0);
+	hc = chancreate(sizeof(Rune*), 1);
 	if((hostfd = start_host()) >= 0)
 		proccreate(hostreader, nil, BSIZE+1024);