git: 9front

Download patch

ref: 6508ad8e2638798f13070c22617663654ccfc8f0
parent: 3741a4b68a3e096da79919d0d7234504a276ecb3
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);
 
--