Files
tty7/src/terminal/mod.rs
T
l0ng-ai 649fdef51e Merge branch 'main' into worktree-code-panel
# Conflicts:
#	src/core/config.rs
#	src/ui/mod.rs
#	src/ui/tab_sidebar.rs
#	src/ui/tab_strip.rs
2026-07-24 15:15:08 +08:00

45 lines
1.4 KiB
Rust

//! The `terminal` subsystem, split by concern:
//! - [`size`] — `TermSize`, the grid dimensions shared by the remote terminal
//! and the view.
//! - [`remote`] — the daemon-backed `RemoteTerminal`: owns a socket + a local
//! mirror emulator, fed bytes the daemon replays instead of owning a PTY.
//! - [`view`] — the GPUI view that hosts a terminal and renders the chrome.
//! - [`element`] — the custom element that paints the character grid.
//! - [`palette`] — the terminal color scheme.
//!
//! Shell integration (the rc files that emit OSC 7 / OSC 133) used to live here
//! but now sits in `daemon::shell_integration`, beside the PTY-owning `pane`
//! that is its only injector — which is what keeps `daemon` from depending back
//! on `terminal`.
//!
//! `TermSize` / `RemoteTerminal` are re-exported here so the rest of the crate
//! can refer to `terminal::RemoteTerminal` without reaching into submodules.
mod cmd_editor;
mod completion;
pub mod element;
pub mod fps;
mod fuzzy;
mod generator;
pub(crate) mod git_diff;
pub(crate) mod git_status;
mod highlight;
mod history;
mod hold;
pub mod input;
mod loopback;
pub(crate) mod marks;
pub mod palette;
mod remote;
mod reverse_search;
pub mod search;
mod signature;
mod size;
mod smart_select;
mod typeahead;
pub mod view;
pub use remote::RemoteTerminal;
pub(crate) use remote::notify_desktop;
pub use size::TermSize;