From 9d6e22dd06d79b3f5ece716ef560148714c5489c Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 23 Mar 2023 07:07:27 -0500 Subject: [PATCH] show the ability to have multiple modifiers (#559) --- src/utils/query.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/utils/query.rs b/src/utils/query.rs index 7f4822b..90e01d1 100644 --- a/src/utils/query.rs +++ b/src/utils/query.rs @@ -61,6 +61,7 @@ impl Display for ReedLineCrossTermKeyCode { } } } + /// Return a `Vec` of the Reedline Keybinding Modifiers pub fn get_reedline_keybinding_modifiers() -> Vec { vec![ @@ -68,6 +69,14 @@ pub fn get_reedline_keybinding_modifiers() -> Vec { "Control".to_string(), "Shift".to_string(), "None".to_string(), + "Shift_Alt".to_string(), + "Alt_Shift".to_string(), + "Control_Shift".to_string(), + "Shift_Control".to_string(), + "Control_Alt".to_string(), + "Alt_Control".to_string(), + "Control_Alt_Shift".to_string(), + "Control_Shift_Alt".to_string(), ] }