simon-git: putty (main): Jacob Nevins

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Nov 2 23:56:59 GMT 2022


TL;DR:
  ebceb8bc Windows: fix terminal hang with resize forbidden.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:           2022-11-02 23:56:59

commit ebceb8bc9494af6d93ace9f6ea84bb3d09adb8f3
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ebceb8bc9494af6d93ace9f6ea84bb3d09adb8f3;hp=79b1cb226777783a06de481b703b47abff861bef
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Wed Nov 2 23:51:57 2022 +0000

    Windows: fix terminal hang with resize forbidden.
    
    A server attempt to resize the window (for instance via DECCOLM) when
    "When window is resized" was set to "Forbid resizing completely" would
    cause all terminal output to be suspended, due to the resize attempt
    never being acknowledged.
    
    (There are other code paths like this, which I've fixed for
    completeness, but I don't think they have any effect: the terminal
    filters out resize attempts to the current size before this point, and
    even if a server can get such a request through the SUPDUP protocol, the
    test for that is wrong and will never fire -- this needs fixing
    separately.)

 windows/window.c | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)



More information about the tartarus-commits mailing list