Skip to content

[WIP] Trying to fix broken paste and OSC52 clipboard initialization.#3341

Open
unxed wants to merge 2 commits into
elfmz:masterfrom
unxed:osc52_and_paste_fixes
Open

[WIP] Trying to fix broken paste and OSC52 clipboard initialization.#3341
unxed wants to merge 2 commits into
elfmz:masterfrom
unxed:osc52_and_paste_fixes

Conversation

@unxed

@unxed unxed commented Apr 9, 2026

Copy link
Copy Markdown
Contributor
  1. Update ITTYInputSpecialSequenceHandler and TTYBackend to support a 'fast' inspection mode that skips heavy syscalls/IPC during high-traffic input.

  2. Implement the 'fast' logic in TTYBackend::OnInspectKeyEvent to ensure wVirtualKeyCode is always populated even during bracketed paste.

  3. Update TTYInput::PostCharEvent to perform fast inspection during paste instead of skipping it entirely.

  4. Call ApplyConfig() in main.cpp to ensure backend settings (like OSC52) are pushed to the TTY backend immediately at startup.

Touch #3268

1. Update ITTYInputSpecialSequenceHandler and TTYBackend to support a 'fast' inspection mode that skips heavy syscalls/IPC during high-traffic input.

2. Implement the 'fast' logic in TTYBackend::OnInspectKeyEvent to ensure wVirtualKeyCode is always populated even during bracketed paste.

3. Update TTYInput::PostCharEvent to perform fast inspection during paste instead of skipping it entirely.

4. Call ApplyConfig() in main.cpp to ensure backend settings (like OSC52) are pushed to the TTY backend immediately at startup.
@tempergate

Copy link
Copy Markdown
Contributor

copy from far2l now works correctly, paste from external application still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants