diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-10-11 02:08:34 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-10-11 02:08:34 +0000 |
commit | 2fa6c2cb881c9a3a537b419c58727de0d0ee741e (patch) | |
tree | 47346acf5106c3fb0678f0dce3013ccdadd6222f /sys/src/cmd/rio | |
parent | 969dcf44b66e1842fae22f6743cb2cb50bb11158 (diff) |
rio: close the display on the way out
This restores the window image when exiting a subrio.
Diffstat (limited to 'sys/src/cmd/rio')
-rw-r--r-- | sys/src/cmd/rio/rio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/rio/rio.c b/sys/src/cmd/rio/rio.c index 2e59a636d..2caf06908 100644 --- a/sys/src/cmd/rio/rio.c +++ b/sys/src/cmd/rio/rio.c @@ -233,6 +233,7 @@ threadmain(int argc, char *argv[]) recv(exitchan, nil); } killprocs(); + closedisplay(display); threadexitsall(nil); } |