In most ssh sessions, pressing ctrl-d [EOF] means logout, so many people will use this shortcut to exit the session.
The current behavior of WindTerm is that after using ctrl-d to log out of the ssh session, pressing it again will result in a warning "Remote channel is closed".
The behavior of xshell for this operation is that pressing ctrl-d again after the session is disconnected will close the session. And Microsoft Terminal's behavior is to directly close the session after the session is disconnected.
Is it possible to achieve xshell-like behavior where pressing ctrl-d again in a disconnected session means closing this session?
In most ssh sessions, pressing ctrl-d [EOF] means logout, so many people will use this shortcut to exit the session.
The current behavior of WindTerm is that after using ctrl-d to log out of the ssh session, pressing it again will result in a warning "Remote channel is closed".
The behavior of xshell for this operation is that pressing ctrl-d again after the session is disconnected will close the session. And Microsoft Terminal's behavior is to directly close the session after the session is disconnected.
Is it possible to achieve xshell-like behavior where pressing ctrl-d again in a disconnected session means closing this session?