mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 23:57:21 +03:00
show the ability to have multiple modifiers (#559)
This commit is contained in:
parent
31743c8488
commit
9d6e22dd06
@ -61,6 +61,7 @@ impl Display for ReedLineCrossTermKeyCode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return a `Vec` of the Reedline Keybinding Modifiers
|
/// Return a `Vec` of the Reedline Keybinding Modifiers
|
||||||
pub fn get_reedline_keybinding_modifiers() -> Vec<String> {
|
pub fn get_reedline_keybinding_modifiers() -> Vec<String> {
|
||||||
vec![
|
vec![
|
||||||
@ -68,6 +69,14 @@ pub fn get_reedline_keybinding_modifiers() -> Vec<String> {
|
|||||||
"Control".to_string(),
|
"Control".to_string(),
|
||||||
"Shift".to_string(),
|
"Shift".to_string(),
|
||||||
"None".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(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user