ref: e9a2b7031de9ae3b7722b1d53e7564030488b8e2
parent: 7fcc6aed753e23ccaf93a69020ac82e5acde36e5
author: Alex Musolino <alex@musolino.id.au>
date: Tue Nov 19 07:40:53 EST 2019
rio: pad window status strings in wctl files This makes it possible to read the entire initial contents of the wctl files without blocking.
--- a/sys/src/cmd/rio/wind.c
+++ b/sys/src/cmd/rio/wind.c
@@ -406,7 +406,7 @@
t = "notcurrent";
if(w == input)
t = "current";
- pair.ns = snprint(pair.s, pair.ns, "%11d %11d %11d %11d %s %s ",
+ pair.ns = snprint(pair.s, pair.ns, "%11d %11d %11d %11d %11s %11s ",
w->i->r.min.x, w->i->r.min.y, w->i->r.max.x, w->i->r.max.y, t, s);
send(crm.c2, &pair);
continue;
--
⑨