ssh client restores previous screen colors after a tty session has ended

ssh.exe restores console color settings for a tty session to what was
before. This is a usability improvement and a user have written an issue
(#31) for this fix.
This commit is contained in:
quamrulmina 2015-11-20 15:04:58 -06:00
parent 5752a7e550
commit 2923fc644f

3
ssh.c
View File

@ -1561,6 +1561,9 @@ main(int ac, char **av)
#ifdef WIN32_FIXME
if (tty_flag)
ConUnInitWithRestore(); // restore terminal to previous settings if it was a tty session
CleanUpProxyProcess();
UninitMitKerberos();