pub struct PaneTerminalAdapterConfig {
pub drag_threshold: u16,
pub update_hysteresis: u16,
pub activation_button: PanePointerButton,
pub drag_update_coalesce_distance: u16,
pub cancel_on_focus_lost: bool,
pub cancel_on_resize: bool,
}Expand description
Configuration for terminal-to-pane semantic input translation.
This adapter normalizes terminal Event streams into
PaneSemanticInputEvent values accepted by PaneDragResizeMachine.
Fields§
§drag_threshold: u16Drag start threshold in pane-local units.
update_hysteresis: u16Drag update hysteresis threshold in pane-local units.
Mouse button required to begin a drag sequence.
drag_update_coalesce_distance: u16Minimum drag delta (Manhattan distance, cells) before forwarding updates while already in the dragging state.
cancel_on_focus_lost: boolCancel active interactions on focus loss.
cancel_on_resize: boolCancel active interactions on terminal resize.
Trait Implementations§
Source§impl Clone for PaneTerminalAdapterConfig
impl Clone for PaneTerminalAdapterConfig
Source§fn clone(&self) -> PaneTerminalAdapterConfig
fn clone(&self) -> PaneTerminalAdapterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PaneTerminalAdapterConfig
impl Debug for PaneTerminalAdapterConfig
Source§impl Default for PaneTerminalAdapterConfig
impl Default for PaneTerminalAdapterConfig
impl Copy for PaneTerminalAdapterConfig
impl Eq for PaneTerminalAdapterConfig
impl StructuralPartialEq for PaneTerminalAdapterConfig
Auto Trait Implementations§
impl Freeze for PaneTerminalAdapterConfig
impl RefUnwindSafe for PaneTerminalAdapterConfig
impl Send for PaneTerminalAdapterConfig
impl Sync for PaneTerminalAdapterConfig
impl Unpin for PaneTerminalAdapterConfig
impl UnsafeUnpin for PaneTerminalAdapterConfig
impl UnwindSafe for PaneTerminalAdapterConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.