diff options
| author | Dmitri Vereshchagin <dmitri.vereshchagin@gmail.com> | 2026-02-01 10:06:13 +0300 |
|---|---|---|
| committer | Dan Cross <crossd@gmail.com> | 2026-02-08 09:47:45 -0500 |
| commit | cb7001c8d27f22f7229be302f53012bb1db52418 (patch) | |
| tree | de58ae29f99124acc13a6f7ba2dca0b810f646df | |
| parent | a39606e3241540482afd13e93d7f34defa7d74ce (diff) | |
| download | plan9port-cb7001c8d27f22f7229be302f53012bb1db52418.tar.gz plan9port-cb7001c8d27f22f7229be302f53012bb1db52418.zip | |
win: fix spaces in Acme window tag
Acme adds a space after Look at the end of window tags. Therefore, the
space before Send is not needed. The space after Send is for consistency
and convenience.
| -rw-r--r-- | src/cmd/9term/win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/win.c b/src/cmd/9term/win.c index 9c7a12eb..2c57e35b 100644 --- a/src/cmd/9term/win.c +++ b/src/cmd/9term/win.c @@ -182,7 +182,7 @@ threadmain(int argc, char **argv) putenv("winid", buf); sprint(buf, "%d/tag", id); fd = fsopenfd(fs, buf, OWRITE|OCEXEC); - write(fd, " Send", 1+4); + write(fd, "Send ", 4+1); close(fd); sprint(buf, "%d/event", id); eventfd = fsopen(fs, buf, ORDWR|OCEXEC); |
