show the ability to have multiple modifiers (#559)

This commit is contained in:
Darren Schroeder 2023-03-23 07:07:27 -05:00 committed by GitHub
parent 31743c8488
commit 9d6e22dd06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,7 @@ impl Display for ReedLineCrossTermKeyCode {
}
}
}
/// Return a `Vec` of the Reedline Keybinding Modifiers
pub fn get_reedline_keybinding_modifiers() -> Vec<String> {
vec![
@ -68,6 +69,14 @@ pub fn get_reedline_keybinding_modifiers() -> Vec<String> {
"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(),
]
}