Allow negative number for cli get-text line

This commit is contained in:
micmine authored and Wez Furlong committed 2023-02-11 07:14:48 -08:00
1 parent 66ec3f6eb6
commit f224ed4cc5
1 file changed
+2 -2
+2 -2
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.