feat(normal): normal-mode ZR does :restart

Make it a normal-mode command instead of a default mapping.
This commit is contained in:
Justin M. Keyes
2026-04-20 22:15:01 +02:00
parent 2551c7a8b1
commit a1c8b81672
8 changed files with 82 additions and 20 deletions

View File

@@ -122,7 +122,9 @@ function SocketStream:read_stop()
end
function SocketStream:close()
uv.close(self._socket)
if not self._socket:is_closing() then
uv.close(self._socket)
end
end
--- Stream over child process stdio.