mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Extract shared footer hint wrapping in the TUI (#44354)
## What changed Replace duplicated footer wrapping in the MCP elicitation and request-user-input overlays with `wrap_hint_rows`. Preserve whole-hint grouping, display-width and separator accounting, oversized hints, and the single empty row for empty input. ## Testing Add unit tests for Unicode display widths, whole-hint wrapping, oversized hints at zero width, and empty input. GitOrigin-RevId: 4d8ead0acbfa3bf9241baedb86d2476566d26ebc
This commit is contained in:
1 parent
0447e4a1fd
commit
e2a9ee05f4
5 files changed
+92
-76
No files matched your search
@@ -155,6 +155,7 @@ mod ide_context;
|
||||
mod inline_visualization;
|
||||
pub(crate) mod insert_history;
|
||||
pub use insert_history::insert_history_lines;
|
||||
mod footer_hint;
|
||||
mod key_hint;
|
||||
mod keymap;
|
||||
mod keymap_setup;
|
||||
|
||||
Reference in new issue
Block a user