The function in https://github.com/chjj/pty.js/blob/fe63a412574f45ee6bb6d8fab4a5c102107b5201/lib/pty.js#L270-L272 calls net.Socket.end(), which does not kill the socket, as stated in [https://nodejs.org/api/net.html#net_socket_end_data_encoding](https://nodejs.org/api/net.html#net_socket_end_data_encoding). Is this behavior intended?
The function in
pty.js/lib/pty.js
Lines 270 to 272 in fe63a41
Is this behavior intended?