diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-08-19 23:35:41 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-08-19 23:35:41 +0000 |
commit | 4009eb2feecfa4722d5cb22be4f5db9f26d15be3 (patch) | |
tree | 70861cb2df8a4a881110d1b57973fa23499095a0 /sys/src/cmd/rio/wind.c | |
parent | a36f997368057fe298524de52310cc4e98bddba8 (diff) |
rio: correct tap code
Remove tapmesg, allow the reads to accept
flushes, accept writes of multiple messages,
move open/close to Xfid code.
Diffstat (limited to 'sys/src/cmd/rio/wind.c')
-rw-r--r-- | sys/src/cmd/rio/wind.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/src/cmd/rio/wind.c b/sys/src/cmd/rio/wind.c index 217e877c0..d6e6c3ff6 100644 --- a/sys/src/cmd/rio/wind.c +++ b/sys/src/cmd/rio/wind.c @@ -81,7 +81,6 @@ void wcurrent(Window *w) { Channel *c; - Tapmesg m; if(input == nil){ input = w; @@ -89,9 +88,7 @@ wcurrent(Window *w) } if(w == input) return; - m.type = Freset; - m.s = nil; - send(fromtap, &m); + chanprint(fromtap, "%c", Tapreset); incref(input); c = chancreate(sizeof(Window*), 0); wsendctlmesg(input, Repaint, ZR, c); |