-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
hello team,
i want to report a bug i found its not big issue but will enhance experience
the bug is when you type the command 'exit' to close the ssh session opened the xTerm will hangs for ever cause the connection is closed but the socket not
also when you click on (exit) the red icon it will close the xTerm but not the ssh session
take a look at the pictures attached
FIX:
as a fix you can add exit in the event 'osClose' like this
ws.on('close', () => {
ws.send('exit')
term.writeln('... Disconnected. Press any key to close terminal ...');
closed = true;
clearInterval(pinger);
});also maybe you should add a condition when send if its exit pass with it onClose event
i hope i made it clear if not just tell me i will explain more



andersevenrud
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request