Files
codex/codex-rs/tui/src
Eric Traut 1a2a9299c1 Discard unsaved experimental feature edits on cancel (#61694)
## What changed

Close the experimental features popup without saving pending edits when the user presses `Esc`, `Ctrl+C`, or a remapped cancel key. Keep saving on the accept action (`Enter` by default), and update the footer from `esc save/close` to `esc cancel`.

## Testing

Update tests to assert that cancellation discards toggles without emitting save events, including after a failed write and with a remapped cancel key. Refresh popup snapshots for the new hint.

GitOrigin-RevId: d7640edaeca1db371a7087312179a001d7528b9a
2026-11-15 21:11:16 +00:00
..
…
…
…