diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:50:54 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:50:54 +0200 |
| commit | 6723829a3398b3c9dd6dc6ae79124f46000606ee (patch) | |
| tree | a1ec535eddd711a4557e4bcc5b94382c3623504c /crates/turtle/src/atuin_pty_proxy/osc133.rs | |
| parent | chore(treewide): Cleanup themes (diff) | |
| download | atuin-6723829a3398b3c9dd6dc6ae79124f46000606ee.zip | |
chore(treewide): Remove `cargo` warnings to 0
There are still the `clippy` warnings, but they are for a future date.
Diffstat (limited to 'crates/turtle/src/atuin_pty_proxy/osc133.rs')
| -rw-r--r-- | crates/turtle/src/atuin_pty_proxy/osc133.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/turtle/src/atuin_pty_proxy/osc133.rs b/crates/turtle/src/atuin_pty_proxy/osc133.rs index d79166a6..b0cf0f0a 100644 --- a/crates/turtle/src/atuin_pty_proxy/osc133.rs +++ b/crates/turtle/src/atuin_pty_proxy/osc133.rs @@ -1,4 +1,4 @@ -//! Streaming parser for OSC 133 (FinalTerm semantic prompt) escape sequences. +//! Streaming parser for OSC 133 ([`FinalTerm`] semantic prompt) escape sequences. //! //! OSC 133 marks four regions of a shell interaction: //! @@ -24,7 +24,7 @@ //! can ride alongside standard OSC 133 markers. /// Events emitted when an OSC 133 marker is detected. -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Copy)] pub(crate) enum Event { /// `ESC ] 133 ; A ST` — the shell is about to display its prompt. PromptStart, @@ -98,7 +98,6 @@ pub(crate) struct LocatedEvent { /// The current semantic zone as determined by the most recent OSC 133 marker. #[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] -#[expect(dead_code)] pub(crate) enum Zone { /// No marker seen yet, or after a `D` marker (between commands). #[default] |
