Skip to content

Commit

Permalink
Temporary fix for neovide#2459
Browse files Browse the repository at this point in the history
  • Loading branch information
zbyna committed May 6, 2024
1 parent 5efb713 commit c12b001
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/window/keyboard_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ impl KeyboardManager {
} if self.ime_preedit.0.is_empty() => {
log::trace!("{:#?}", key_event);
if key_event.state == ElementState::Pressed {
if let Some(text) = self.format_key(key_event) {
if let Some(mut text) = self.format_key(key_event) {
if text.contains("<C-)>") {
text = "<C-]>".to_owned()}
log::trace!("Key pressed {} {:?}", text, self.modifiers.state());
tracy_named_frame!("keyboard input");
send_ui(SerialCommand::Keyboard(text));
Expand Down

0 comments on commit c12b001

Please sign in to comment.