vt: allow for a bit of buffering

This commit is contained in:
cinap_lenrek 2017-04-18 00:21:51 +02:00
parent 1333b4d14e
commit 378866d6d1

View file

@ -269,7 +269,7 @@ initialize(int argc, char **argv)
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);