You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: sharing a web terminal corrupts Vim input #37232
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open the same thread terminal from separate writable web browser contexts connected to one server.
Create a file containing alpha\n and open it with vim -Nu NONE -n -i NONE <file>.
Type iHELLO, press Escape, enter :wq, and inspect the saved file.
Expected behavior
The file contains HELLOalpha\n, including when another viewer is attached.
Actual behavior
The file contains \nalpha\n. Each web renderer answers the live terminal queries; duplicated DECRPM ESC[?12;2$y input corrupts Vim interaction. A single viewer and closing the other viewer restore correct editing. Duplicated cursor-position reports alone were not the harmful input.
Linux web client, Chromium, Vim 9.1, a shared real PTY. Native clients, other platforms and applications were not tested.
Logs or stack traces
The real-client fixture saves \nalpha\n on main and HELLOalpha\n with reply arbitration. The terminal manager public behavior test also fails on main for duplicate mode-status replies.
Activity