pub enum ITermProprietary {
Show 16 variants
SetMark,
StealFocus,
ClearScrollback,
CurrentDir(String),
SetProfile(String),
CopyToClipboard(String),
EndCopy,
HighlightCursorLine(bool),
RequestCellSize,
ReportCellSize {
height_pixels: NotNan<f32>,
width_pixels: NotNan<f32>,
scale: Option<NotNan<f32>>,
},
Copy(String),
ReportVariable(String),
SetUserVar {
name: String,
value: String,
},
SetBadgeFormat(String),
File(Box<ITermFileData>),
UnicodeVersion(ITermUnicodeVersionOp),
}
Variants
SetMark
The “Set Mark” command allows you to record a location and then jump back to it later
StealFocus
To bring iTerm2 to the foreground
ClearScrollback
To erase the scrollback history
CurrentDir(String)
To inform iTerm2 of the current directory to help semantic history
SetProfile(String)
To change the session’s profile on the fly
CopyToClipboard(String)
Currently defined values for the string parameter are “rule”, “find”, “font” or an empty string. iTerm2 will go into paste mode until EndCopy is received.
EndCopy
Ends CopyToClipboard mode in iTerm2.
HighlightCursorLine(bool)
The boolean should be yes or no. This shows or hides the cursor guide
RequestCellSize
Request that the terminal send a ReportCellSize response
ReportCellSize
The response to RequestCellSize. The height and width are the dimensions of a cell measured in points according to the docs, but in practice, they are actually pixels. If scale is_some(), the width and height will be multiplied by scale to get the true device dimensions
Copy(String)
Place a string in the systems pasteboard
ReportVariable(String)
Each iTerm2 session has internal variables (as described in https://www.iterm2.com/documentation-badges.html). This escape sequence reports a variable’s value. The response is another ReportVariable.
SetUserVar
User-defined variables may be set with the following escape sequence
SetBadgeFormat(String)
File(Box<ITermFileData>)
Download file data from the application.
UnicodeVersion(ITermUnicodeVersionOp)
Configure unicode version
Trait Implementations
sourceimpl Clone for ITermProprietary
impl Clone for ITermProprietary
sourcefn clone(&self) -> ITermProprietary
fn clone(&self) -> ITermProprietary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ITermProprietary
impl Debug for ITermProprietary
sourceimpl Display for ITermProprietary
impl Display for ITermProprietary
sourceimpl PartialEq<ITermProprietary> for ITermProprietary
impl PartialEq<ITermProprietary> for ITermProprietary
sourcefn eq(&self, other: &ITermProprietary) -> bool
fn eq(&self, other: &ITermProprietary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ITermProprietary) -> bool
fn ne(&self, other: &ITermProprietary) -> bool
This method tests for !=
.
impl Eq for ITermProprietary
impl StructuralEq for ITermProprietary
impl StructuralPartialEq for ITermProprietary
Auto Trait Implementations
impl RefUnwindSafe for ITermProprietary
impl Send for ITermProprietary
impl Sync for ITermProprietary
impl Unpin for ITermProprietary
impl UnwindSafe for ITermProprietary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more