simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Mar 7 21:01:06 GMT 2015


TL;DR:
  2422b18 Don't output negative numbers in the ESC[13t report.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-03-07 21:01:06

commit 2422b18a0f4d758f0660503b068dd19d92de4906
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=2422b18a0f4d758f0660503b068dd19d92de4906;hp=7d97c2a8fdb745905fd61a9ce4abbf822e167cef
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 7 20:57:26 2015 +0000

    Don't output negative numbers in the ESC[13t report.
    
    A minus sign is illegal at that position in a control sequence, so if
    ESC[13t should report something like ESC[3;-123;234t then we won't
    accept it as input. Switch to printing the numbers as unsigned, so
    that negative window coordinates are output as their 32-bit two's
    complement; experimentation suggests that PuTTY does accept that on
    input.

 terminal.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list