Should be able to switch line disciplines mid-session
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Nov 1999 14:20:51 +0000 (14:20 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 9 Nov 1999 14:20:51 +0000 (14:20 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@288 cda61777-01e9-0310-a592-d414129be87e

window.c

index a636ac5..0a68857 100644 (file)
--- a/window.c
+++ b/window.c
@@ -714,6 +714,7 @@ static int WINAPI WndProc (HWND hwnd, UINT message,
            und_mode = UND_FONT;
            init_fonts();
            sfree(logpal);
+           ldisc = (cfg.ldisc_term ? &ldisc_term : &ldisc_simple);
            if (pal)
                DeleteObject(pal);
            logpal = NULL;