pub struct TmuxKeySender;Expand description
Production implementation — shells out to tmux send-keys. Per-
keystroke; v1 doesn’t batch (the 50ms event poll already gates
throughput, and per-call latency stays below typing speed).
Trait Implementations§
Source§impl Clone for TmuxKeySender
impl Clone for TmuxKeySender
Source§fn clone(&self) -> TmuxKeySender
fn clone(&self) -> TmuxKeySender
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TmuxKeySender
impl Debug for TmuxKeySender
Source§impl Default for TmuxKeySender
impl Default for TmuxKeySender
Source§fn default() -> TmuxKeySender
fn default() -> TmuxKeySender
Returns the “default value” for a type. Read more
Source§impl KeySender for TmuxKeySender
impl KeySender for TmuxKeySender
fn send(&self, session: &str, key: &EncodedKey) -> Result<()>
Source§fn scroll(&self, session: &str, direction: ScrollDirection) -> Result<()>
fn scroll(&self, session: &str, direction: ScrollDirection) -> Result<()>
Forward one mouse-wheel tick to the named tmux session as a
terminal-history scroll. Implementations target the pane’s
copy-mode scroll commands, so the agent’s history surfaces the
same way
tmux attach + wheel does — wheel-up auto-enters
copy-mode, subsequent ticks scroll the buffer. Wheel-down on a
pane not in copy-mode is a no-op (tmux’s own behaviour).impl Copy for TmuxKeySender
Auto Trait Implementations§
impl Freeze for TmuxKeySender
impl RefUnwindSafe for TmuxKeySender
impl Send for TmuxKeySender
impl Sync for TmuxKeySender
impl Unpin for TmuxKeySender
impl UnsafeUnpin for TmuxKeySender
impl UnwindSafe for TmuxKeySender
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more