mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
## Why Refreshing the terminal palette on a focus event can block the input loop and discard keystrokes entered while focus is returning. ## What changed - Keep the palette cached by the startup probe when handling `FocusGained`. - Continue updating focus state and requesting a redraw without issuing new foreground or background color queries. ## Testing - Verify a queued key is delivered after `FocusGained`. - Exercise focus regain in a pseudo-terminal with immediate and delayed input, and verify it emits no additional palette queries. GitOrigin-RevId: 16e26f81c1343d01f6d0baeff3f204bcc91dd6f3
8 lines
181 B
Rust
8 lines
181 B
Rust
// Aggregates all former standalone integration tests as modules.
|
|
#[cfg(unix)]
|
|
mod focus_palette;
|
|
mod resize_reflow;
|
|
mod status_indicator;
|
|
mod vt100_history;
|
|
mod vt100_live_commit;
|