summaryrefslogtreecommitdiffstats
path: root/src/key_command/command.rs
diff options
context:
space:
mode:
authorAzad <49314270+Akmadan23@users.noreply.github.com>2024-03-14 17:05:42 +0100
committerGitHub <noreply@github.com>2024-03-14 12:05:42 -0400
commit2536838ce31955ec55561aabb4b86fdd4bc984df (patch)
tree186952491a26613054c338046ff96df411b7c34d /src/key_command/command.rs
parent9339b90cd4a8b26aaa57d63b90c633f427990745 (diff)
feat: add `--reverse` flag to sort methods (#507)
Diffstat (limited to 'src/key_command/command.rs')
-rw-r--r--src/key_command/command.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/key_command/command.rs b/src/key_command/command.rs
index 0a4736f..c0c575d 100644
--- a/src/key_command/command.rs
+++ b/src/key_command/command.rs
@@ -153,7 +153,10 @@ pub enum Command {
initial: char,
},
- Sort(SortType),
+ Sort {
+ sort_type: SortType,
+ reverse: Option<bool>,
+ },
SortReverse,
FilterGlob {