mirror of
https://github.com/wez/wezterm.git
synced 2024-10-27 08:09:45 +03:00
Allow negative number for cli get-text line
This commit is contained in:
parent
66ec3f6eb6
commit
f224ed4cc5
@ -384,7 +384,7 @@ Outputs the pane-id for the newly created pane on success"
|
|||||||
/// Negative numbers proceed backwards into the scrollback.
|
/// Negative numbers proceed backwards into the scrollback.
|
||||||
/// The default value is unspecified is 0, the first line of
|
/// The default value is unspecified is 0, the first line of
|
||||||
/// the terminal screen.
|
/// the terminal screen.
|
||||||
#[arg(long)]
|
#[arg(long, allow_hyphen_values = true)]
|
||||||
start_line: Option<ScrollbackOrVisibleRowIndex>,
|
start_line: Option<ScrollbackOrVisibleRowIndex>,
|
||||||
|
|
||||||
/// The ending line number.
|
/// The ending line number.
|
||||||
@ -392,7 +392,7 @@ Outputs the pane-id for the newly created pane on success"
|
|||||||
/// Negative numbers proceed backwards into the scrollback.
|
/// Negative numbers proceed backwards into the scrollback.
|
||||||
/// The default value if unspecified is the bottom of the
|
/// The default value if unspecified is the bottom of the
|
||||||
/// the terminal screen.
|
/// the terminal screen.
|
||||||
#[arg(long)]
|
#[arg(long, allow_hyphen_values = true)]
|
||||||
end_line: Option<ScrollbackOrVisibleRowIndex>,
|
end_line: Option<ScrollbackOrVisibleRowIndex>,
|
||||||
|
|
||||||
/// Include escape sequences that color and style the text.
|
/// Include escape sequences that color and style the text.
|
||||||
|
Loading…
Reference in New Issue
Block a user