]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Don't output negative numbers in the ESC[13t report.
authorSimon Tatham <anakin@pobox.com>
Sat, 7 Mar 2015 20:57:26 +0000 (20:57 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 7 Mar 2015 20:57:26 +0000 (20:57 +0000)
commit2422b18a0f4d758f0660503b068dd19d92de4906
tree6dbcc0633fea3188aa922c87f85560163e88729b
parent7d97c2a8fdb745905fd61a9ce4abbf822e167cef
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