mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-06-26 05:34:38 +08:00
* Bump ttimeoutlen to 50ms on SSH/TTY ttimeoutlen=10 fragments multi-byte key codes (F-keys, arrows, Alt- prefixes) when one-way latency exceeds 10ms, which is normal on SSH. Vim then sees ESC followed by a literal letter and either returns to Normal mode mid-insert or treats the trailing byte as a separate keypress (so <F4> inserts "4"). 50ms is the standard "slow link" value: well below perceptible <Esc> delay locally and big enough for typical residential/long-haul SSH. g:is_tty already gates several other terminal accommodations; reuse it here. Closes #74 * Pin TERM in ttimeoutlen test (env-hermetic) |
||
|---|---|---|
| .. | ||
| test.sh | ||