diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 5f25cab132e40c9aa89b1705c593b3572cac0484..412333f15f116fd7e4dfb98ffedb4210e8cbd6e0 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -19742,7 +19742,7 @@ impl Editor { .flatten() .filter_map(|keystroke| { if keystroke.modifiers.is_subset_of(&Modifiers::shift()) { - Some(keystroke.key_char.clone().unwrap_or(keystroke.key.clone())) + keystroke.key_char.clone() } else { None }