diff options
author | Alex Musolino <alex@musolino.id.au> | 2019-11-19 12:40:53 +1030 |
---|---|---|
committer | Alex Musolino <alex@musolino.id.au> | 2019-11-19 12:40:53 +1030 |
commit | 59115ba4075891c17d06a79c61998ed162e2d26f (patch) | |
tree | 2fea7c9a8cb590e53778cc13dadfd3aedfc593db /sys/src/cmd/rio/wind.c | |
parent | 4d4107b38547c7f9f135cc22d3a29fcbad4a8c34 (diff) |
rio: pad window status strings in wctl files
This makes it possible to read the entire initial contents of the wctl
files without blocking.
Diffstat (limited to 'sys/src/cmd/rio/wind.c')
-rw-r--r-- | sys/src/cmd/rio/wind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/wind.c b/sys/src/cmd/rio/wind.c index 004990118..1026a768e 100644 --- a/sys/src/cmd/rio/wind.c +++ b/sys/src/cmd/rio/wind.c @@ -406,7 +406,7 @@ winctl(void *arg) 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; |