mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
61429a6c10
This is a follow-up to https://github.com/openai/codex/pull/15922. That previous PR deleted the old `tui` directory and left the new `tui_app_server` directory in place. This PR renames `tui_app_server` to `tui` and fixes up all references.
757 B
757 B
TUI bottom pane (state machines)
When changing the paste-burst or chat-composer state machines in this folder, keep the docs in sync:
- Update the relevant module docs (
chat_composer.rsand/orpaste_burst.rs) so they remain a readable, top-down explanation of the current behavior. - Update the narrative doc
docs/tui-chat-composer.mdwhenever behavior/assumptions change (Enter handling, retro-capture, flush/clear rules,disable_paste_burst, non-ASCII/IME handling). - Keep implementations/docstrings aligned unless a divergence is intentional and documented.
Practical check:
- After edits, sanity-check that docs mention only APIs/behavior that exist in code (especially the
Enter/newline paths and
disable_paste_burstsemantics).