mirror of
https://github.com/openai/codex.git
synced 2026-11-20 15:07:25 +00:00
Remove the legacy TUI split (#15922)
This is the part 1 of 2 PRs that will delete the `tui` / `tui_app_server` split. This part simply deletes the existing `tui` directory and marks the `tui_app_server` feature flag as removed. I left the `tui_app_server` feature flag in place for now so its presence doesn't result in an error. It is simply ignored. Part 2 will rename the `tui_app_server` directory `tui`. I did this as two parts to reduce visible code churn.
This commit is contained in:
1 parent
307e427a9b
commit
d65deec617
856 files changed
+257
-130872
No files matched your search
@@ -1,11 +0,0 @@
|
||||
//! Shared UI constants for layout and alignment within the TUI.
|
||||
|
||||
/// Width (in terminal columns) reserved for the left gutter/prefix used by
|
||||
/// live cells and aligned widgets.
|
||||
///
|
||||
/// Semantics:
|
||||
/// - Chat composer reserves this many columns for the left border + padding.
|
||||
/// - Status indicator lines begin with this many spaces for alignment.
|
||||
/// - User history lines account for this many columns (e.g., "▌ ") when wrapping.
|
||||
pub(crate) const LIVE_PREFIX_COLS: u16 = 2;
|
||||
pub(crate) const FOOTER_INDENT_COLS: usize = LIVE_PREFIX_COLS as usize;
|
||||
Reference in new issue
Block a user