pub struct RefreshClient<'a> {Show 13 fields
pub tracking_cursor: bool,
pub down: bool,
pub request_clipboard: bool,
pub left: bool,
pub right: bool,
pub status_line: bool,
pub up: bool,
pub allow_actions: Option<AllowActions<'a>>,
pub subscribe: Option<Subscribe<'a>>,
pub size: Option<(usize, usize)>,
pub flags: Option<ClientFlags>,
pub target_client: Option<Cow<'a, str>>,
pub adjustment: Option<usize>,
}
Expand description
Structure for refreshing the current client
§Manual
tmux 3.3:
refresh-client [-cDLRSU] [-A pane:state] [-B name:what:format] [-C XxY] [-f flags]
[-l [target-pane]] [-t target-client] [adjustment] (alias: refresh)
tmux 3.2:
refresh-client [-cDlLRSU] [-A pane:state] [-B name:what:format] [-C XxY] [-f flags] [-t target-client] [adjustment]
(alias: refresh)
tmux 3.0:
refresh-client [-cDlLRSU] [-C XxY] [-F flags] [-t target-client] [adjustment]
(alias: refresh)
tmux 2.9a:
refresh-client [-cDlLRSU] [-C width,height] [-F flags] [-t target-client] [adjustment]
(alias: refresh)
tmux 2.4:
refresh-client [-C width,height] [-S] [-t target-client]
(alias: refresh)
tmux 1.6:
refresh-client [-S] [-t target-client]
(alias: refresh)
tmux 0.8:
refresh-client [-t target-client]
(alias: refresh)
Fields§
§tracking_cursor: bool
[-c]
- return to tracking the cursor automatically
down: bool
[-D]
- move the visible part of a window down by adjustment
rows
request_clipboard: bool
[-l]
- request the clipboard from the client using the xterm(1) escape sequence
left: bool
[-L]
- move the visible part of a window left by adjustment
columns
right: bool
[-R]
- move the visible part of a window right by adjustment
columns
status_line: bool
[-S]
- only update the client’s status line
up: bool
[-U]
- move the visible part of a window up by adjustment
rows
allow_actions: Option<AllowActions<'a>>
[-A pane:state]
- allows a control mode client to trigger actions on a pane
subscribe: Option<Subscribe<'a>>
[-B name:what:format]
size: Option<(usize, usize)>
[-C X,Y]
- set the width and height of a control client
[-C XxY]
- set the width and height of a control client
flags: Option<ClientFlags>
[-f flags]
- sets a comma-separated list of client flags
target_client: Option<Cow<'a, str>>
[-t target-client]
- specify the client
adjustment: Option<usize>
[adjustment]
- moves the visible part up/down left/right by adjustment rows/columns
Implementations§
source§impl<'a> RefreshClient<'a>
impl<'a> RefreshClient<'a>
pub fn new() -> Self
sourcepub fn tracking_cursor(self) -> Self
pub fn tracking_cursor(self) -> Self
[-c]
- return to tracking the cursor automatically
sourcepub fn request_clipboard(self) -> Self
pub fn request_clipboard(self) -> Self
[-l]
- request the clipboard from the client using the xterm(1) escape sequence
sourcepub fn right(self) -> Self
pub fn right(self) -> Self
[-R]
- move the visible part of a window right by adjustment
columns
sourcepub fn status_line(self) -> Self
pub fn status_line(self) -> Self
[-S]
- only update the client’s status line
sourcepub fn allow_actions<S: Into<Cow<'a, str>>>(self, pane: S, state: State) -> Self
pub fn allow_actions<S: Into<Cow<'a, str>>>(self, pane: S, state: State) -> Self
[-A pane:state]
- allows a control mode client to trigger actions on a pane
sourcepub fn subscribe<S: Into<Cow<'a, str>>>(
self,
name: S,
what: Option<usize>,
format: Option<usize>
) -> Self
pub fn subscribe<S: Into<Cow<'a, str>>>( self, name: S, what: Option<usize>, format: Option<usize> ) -> Self
[-B name:what:format]
sourcepub fn size(self, size: (usize, usize)) -> Self
pub fn size(self, size: (usize, usize)) -> Self
[-C X,Y]
- set the width and height of a control client
[-C XxY]
- set the width and height of a control client
[-C @id:XxY]
- set the width and height of a control client
sourcepub fn flags(self, flags: ClientFlags) -> Self
pub fn flags(self, flags: ClientFlags) -> Self
[-f flags]
- sets a comma-separated list of client flags
sourcepub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
pub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
[-t target-client]
- specify the client
sourcepub fn adjustment(self, adjustment: usize) -> Self
pub fn adjustment(self, adjustment: usize) -> Self
[adjustment]
- moves the visible part up/down left/right by adjustment rows/columns
pub fn build(self) -> TmuxCommand<'a>
Trait Implementations§
source§impl<'a> Clone for RefreshClient<'a>
impl<'a> Clone for RefreshClient<'a>
source§fn clone(&self) -> RefreshClient<'a>
fn clone(&self) -> RefreshClient<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for RefreshClient<'a>
impl<'a> Debug for RefreshClient<'a>
source§impl<'a> Default for RefreshClient<'a>
impl<'a> Default for RefreshClient<'a>
source§fn default() -> RefreshClient<'a>
fn default() -> RefreshClient<'a>
source§impl<'a> From<RefreshClient<'a>> for TmuxCommand<'a>
impl<'a> From<RefreshClient<'a>> for TmuxCommand<'a>
source§fn from(item: RefreshClient<'a>) -> Self
fn from(item: RefreshClient<'a>) -> Self
source§impl<'a> Hash for RefreshClient<'a>
impl<'a> Hash for RefreshClient<'a>
source§impl<'a> Ord for RefreshClient<'a>
impl<'a> Ord for RefreshClient<'a>
source§fn cmp(&self, other: &RefreshClient<'a>) -> Ordering
fn cmp(&self, other: &RefreshClient<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl<'a> PartialEq for RefreshClient<'a>
impl<'a> PartialEq for RefreshClient<'a>
source§fn eq(&self, other: &RefreshClient<'a>) -> bool
fn eq(&self, other: &RefreshClient<'a>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for RefreshClient<'a>
impl<'a> PartialOrd for RefreshClient<'a>
source§fn partial_cmp(&self, other: &RefreshClient<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &RefreshClient<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more