diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 00:54:30 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 00:54:30 +0200 |
| commit | 5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8 (patch) | |
| tree | c64baa8d5866c8e339eaf660dd3f94f30a3f7d8a /crates/atuin-pty-proxy/src/lib.rs | |
| parent | chore: Somewhat simplify sync code (diff) | |
| download | atuin-5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8.zip | |
chore: Move everything into one big crate
That helps remove duplicated code and rustc/cargo will now also show
dead code correctly.
Diffstat (limited to 'crates/atuin-pty-proxy/src/lib.rs')
| -rw-r--r-- | crates/atuin-pty-proxy/src/lib.rs | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/crates/atuin-pty-proxy/src/lib.rs b/crates/atuin-pty-proxy/src/lib.rs deleted file mode 100644 index d1571079..00000000 --- a/crates/atuin-pty-proxy/src/lib.rs +++ /dev/null @@ -1,48 +0,0 @@ -#[cfg(unix)] -mod capture; -#[cfg(unix)] -mod debug; -#[cfg(unix)] -mod osc133; -#[cfg(unix)] -mod pty_proxy; -#[cfg(unix)] -mod runtime; -#[cfg(unix)] -mod screen; - -#[cfg(unix)] -pub use capture::{CommandCapture, CommandCaptureSink}; -#[cfg(unix)] -pub use pty_proxy::PtyProxy; - -#[cfg(not(unix))] -#[expect(dead_code)] -mod unsupported { - use clap::{Args, Subcommand}; - - #[derive(Args, Debug)] - pub struct PtyProxy { - /// Highlight OSC 133 prompt, input, output, and exit-code regions - #[arg(long)] - debug_osc133: bool, - - #[command(subcommand)] - cmd: Option<Cmd>, - } - - #[derive(Subcommand, Debug)] - enum Cmd { - /// Print shell code to initialize atuin pty-proxy on shell startup - Init(Init), - } - - #[derive(Args, Debug)] - struct Init { - /// Shell to generate init for. If omitted, attempt auto-detection - shell: Option<String>, - } -} - -#[cfg(not(unix))] -pub use unsupported::PtyProxy; |
