diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-12-10 08:39:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-12-13 08:56:29 +0000 |
| commit | 6e533231b016684a32a1975ce2e33ae3ae38b4c6 (patch) | |
| tree | 6d0b221481c4b3b145eccfbc31a55ac4388b67b2 /scripts/benchmark.py | |
| parent | ci: codespell: ignore 'rin' (diff) | |
term: mouse SGR mode: don't emit negative CSI values
When reporting the column/row pixel value in mouse SGR mode, we
emitted negative values when the cursor was being dragged outside the
window.
Unfortunately, negative values aren't allowed in CSI parameters, as
'-' is an intermediate value.
It was done this way, to be consistent with XTerm behavior. Allegedly,
XTerm has changed its behavior in patch 404.
With that in mind, and seeing that foot has never emitted negative
values in any other mouse mode, let's stop emitting negative values in
SGR mode too.
Closes #2226
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions
