handle pipe character properly

macos-click-through
Keith Simmons 5 years ago
parent 186edf1819
commit d4a7e32c66

@ -109,7 +109,10 @@ fn append_modifiers(modifiers: ModifiersState, keycode_text: String, special: bo
"9" => "(".to_string(), "9" => "(".to_string(),
"0" => ")".to_string(), "0" => ")".to_string(),
"'" => "\"".to_string(), "'" => "\"".to_string(),
"Bslash" => "|".to_string(), "Bslash" => {
special = false;
"|".to_string()
},
"," => { "," => {
special = true; special = true;
"lt".to_string() "lt".to_string()

Loading…
Cancel
Save