summaryrefslogtreecommitdiffstats
path: root/src/key_command/impl_appexecute.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/impl_appexecute.rs
parent9339b90cd4a8b26aaa57d63b90c633f427990745 (diff)
feat: add `--reverse` flag to sort methods (#507)
Diffstat (limited to 'src/key_command/impl_appexecute.rs')
-rw-r--r--src/key_command/impl_appexecute.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key_command/impl_appexecute.rs b/src/key_command/impl_appexecute.rs
index 10ab5e9..3540cd1 100644
--- a/src/key_command/impl_appexecute.rs
+++ b/src/key_command/impl_appexecute.rs
@@ -135,7 +135,7 @@ impl AppExecute for Command {
} => case_sensitivity::set_case_sensitivity(context, *case_sensitivity, *set_type),
Self::SetMode => set_mode::set_mode(context, backend),
Self::ShowTasks => show_tasks::show_tasks(context, backend, keymap_t),
- Self::Sort(t) => sort::set_sort(context, *t),
+ Self::Sort { sort_type, reverse } => sort::set_sort(context, *sort_type, *reverse),
Self::SetLineMode(mode) => linemode::set_linemode(context, *mode),
Self::SortReverse => sort::toggle_reverse(context),
Self::SubProcess { words, mode } => {