mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
3f3916e595
Fixes #9361 ## Context Split out from #9059 per review: https://github.com/openai/codex/pull/9059#issuecomment-3757859033 ## Summary The shortcut overlay renders different paste-image bindings on WSL (Ctrl+Alt+V) vs non-WSL (Ctrl+V), which makes snapshot tests non-deterministic when run under WSL. ## Changes - Gate WSL detection behind `cfg(not(test))` so snapshot tests are deterministic across environments. - Add a focused unit test that still asserts the WSL-specific paste-image binding. ## Testing - `just fmt` - `just fix -p codex-tui` - `just fix -p codex-tui2` - `cargo test -p codex-tui` - `cargo test -p codex-tui2`
3f3916e595
·
2026-01-28 01:10:16 +00:00
History