Files
codex/codex-rs/tui
Felipe Coury e6a7862259 Fix clipboard image paste in WSL terminals (#65362)
## Why

VS Code on Windows can interpret `Ctrl+Alt+V` as AltGr input before
Codex receives it. The Windows clipboard fallback also needs to work
when WSL does not import the Windows `PATH`.

## What changed

- Show `Alt+V` in the shortcut guide for WSL sessions in VS Code or when
  terminal detection is inconclusive. Let active bindings and chord
  prefixes take precedence over `Alt+V` and hide the hint when it
  conflicts in the composer.
- Read Windows clipboard images through WinForms, which supports both
  Windows PowerShell 5.1 and PowerShell 7. Try their standard Windows
  installation paths when lookup on `PATH` fails, within the same paste
  deadline.

## Testing

Cover shortcut selection, hint visibility, and `Alt+V` dispatch,
including submitting or queueing a draft when `composer.queue` is
bound to `Alt+V`.

GitOrigin-RevId: ad59ce6c5de65600aa01028f0d173c42a752beae
2026-12-03 00:13:35 +00:00
..