Johannes Altmanninger abaeb4af2a
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
scrollback-push to sanitize cursor position
I believe it's possible that the cursor position reported by the
terminal does not match fish's cursor.  In that case, overflow. Fix
that since we should not trust the terminal.

Also rename a confusingly named variable.

Mouse-click handling has a similar issue, fix that too.

FWIW, tmux always reports cursor position zero (\x1b[1;1R) when
querying from fish (but not when querying with printf).
Will investigate that next, see the linked issue.

Fixes #10992
2025-01-03 07:55:50 +01:00
..
2025-01-02 11:06:29 +08:00
2024-11-30 12:21:30 -08:00
2024-11-24 11:17:34 +01:00
2024-05-06 14:59:36 -05:00
2024-12-23 08:40:02 +01:00
2024-11-30 12:21:30 -08:00
2024-12-27 14:09:07 -08:00
2024-12-27 13:03:49 -08:00
2024-12-27 14:46:46 -08:00
2024-04-29 22:00:59 +02:00
2024-12-14 09:34:52 +01:00
2024-12-27 14:36:55 -08:00
2024-01-13 08:52:54 +01:00
2025-01-02 11:06:29 +08:00
2025-01-02 11:06:29 +08:00
2024-12-23 08:40:02 +01:00
2024-11-17 17:03:34 -08:00
2024-01-13 03:58:33 +01:00
2025-01-01 17:42:25 -08:00
2024-06-29 18:03:52 -07:00
2024-06-29 18:03:52 -07:00