diff options
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] |
