Update crossterm to fix stray input when scrolling (#62139)

## Why

On Unix, a mouse scroll report split across terminal reads can be
misread as keystrokes and insert stray characters into the composer.

## What changed

Advance the `crossterm` pin in Cargo and Bazel to a revision that lets
both Unix input backends wait briefly for the rest of an escape sequence
before interpreting the initial byte as an Escape keypress.

GitOrigin-RevId: 3866299999ce0f61e331f848b821e07e113c454e
This commit is contained in:
Benjamin Carlsson
2026-11-18 00:30:46 +00:00
committed by copyberry
parent 3e5f072ca1
commit 1283c91ad7
3 changed files with 4 additions and 4 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -6395,7 +6395,7 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crossterm"
version = "0.29.0"
source = "git+https://github.com/openai-oss-forks/crossterm?rev=ed1cdab335221515706178d68495bba2aed1924f#ed1cdab335221515706178d68495bba2aed1924f"
source = "git+https://github.com/openai-oss-forks/crossterm?rev=37ca4a27a9424ec5dbe6451f48c339d7b45f8d63#37ca4a27a9424ec5dbe6451f48c339d7b45f8d63"
dependencies = [
"bitflags 2.13.1",
"crossterm_winapi",
+1 -1
View File
@@ -684,7 +684,7 @@ opt-level = 0
[patch.crates-io]
# Uncomment to debug local changes.
# ratatui = { path = "../../ratatui" }
crossterm = { git = "https://github.com/openai-oss-forks/crossterm", rev = "ed1cdab335221515706178d68495bba2aed1924f" }
crossterm = { git = "https://github.com/openai-oss-forks/crossterm", rev = "37ca4a27a9424ec5dbe6451f48c339d7b45f8d63" }
# SQLx 0.9.0 excludes libsqlite3-sys 0.39. Keep its driver and Core traits on
# the same reviewed source until a release includes transact-rs/sqlx#4502.
sqlx-core = { git = "https://github.com/transact-rs/sqlx", rev = "10462fa4414c6c7f1ed1d39bb31678e3b726878c" }