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

Fields

height_pixels: NotNan<f32>
width_pixels: NotNan<f32>
scale: Option<NotNan<f32>>

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

Fields

name: String
value: String

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.