1
1
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:
micmine 2023-02-11 09:40:53 +01:00 committed by Wez Furlong
parent 66ec3f6eb6
commit f224ed4cc5

View File

@ -384,7 +384,7 @@ Outputs the pane-id for the newly created pane on success"
/// Negative numbers proceed backwards into the scrollback.
/// The default value is unspecified is 0, the first line of
/// the terminal screen.
#[arg(long)]
#[arg(long, allow_hyphen_values = true)]
start_line: Option<ScrollbackOrVisibleRowIndex>,
/// 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.
/// The default value if unspecified is the bottom of the
/// the terminal screen.
#[arg(long)]
#[arg(long, allow_hyphen_values = true)]
end_line: Option<ScrollbackOrVisibleRowIndex>,
/// Include escape sequences that color and style the text.