Skip to content

Move terminal module to terminal-detection crate#15216

Merged
aibrahim-oai merged 3 commits intomainfrom
terminal-crate-split
Mar 19, 2026
Merged

Move terminal module to terminal-detection crate#15216
aibrahim-oai merged 3 commits intomainfrom
terminal-crate-split

Conversation

@aibrahim-oai
Copy link
Collaborator

@aibrahim-oai aibrahim-oai commented Mar 19, 2026

  • Move core/src/terminal.rs and its tests into a standalone terminal-detection workspace crate.
  • Update direct consumers to depend on codex-terminal-detection and import terminal APIs directly.

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@aibrahim-oai aibrahim-oai changed the title Move terminal module to its own crate Move terminal module to terminal-detection crate Mar 19, 2026
Co-authored-by: Codex <noreply@openai.com>
fn default() -> Self {
Self {
file_system: Arc::new(Environment.get_filesystem()),
file_system: Arc::new(Environment::default().get_filesystem()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe worth splitting / doing as a separate PR, not a big deal but this is likely annoying other people and would be something that other PRs maybe fix - easier to rebase when needed when there's an obvious single commit that fixes it.

@aibrahim-oai aibrahim-oai merged commit 7eb19e5 into main Mar 19, 2026
33 checks passed
@aibrahim-oai aibrahim-oai deleted the terminal-crate-split branch March 19, 2026 21:08
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants