From 2923fc644f5bf914e516fc80084c48bb54b7c3d7 Mon Sep 17 00:00:00 2001 From: quamrulmina Date: Fri, 20 Nov 2015 15:04:58 -0600 Subject: [PATCH] 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. --- ssh.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssh.c b/ssh.c index 0eb4cd1..fe6e911 100644 --- a/ssh.c +++ b/ssh.c @@ -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();