From 425c86179791cd32e2d4ce0ae7f269940b4b0663 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 10 Sep 2026 21:51:57 +0300 Subject: chore: upgrade libghostty and preserve terminal behavior (#3906) --- src/pane/input.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/pane/input.rs') diff --git a/src/pane/input.rs b/src/pane/input.rs index 8de216e8..10900c94 100644 --- a/src/pane/input.rs +++ b/src/pane/input.rs @@ -218,7 +218,7 @@ fn ghostty_unshifted_codepoint(key: &crate::input::TerminalKey) -> Option { fn ghostty_key_from_crossterm_key_code( code: crossterm::event::KeyCode, shifted_codepoint: Option, -) -> Option { +) -> Option { use crate::ghostty::ffi; use crossterm::event::KeyCode; @@ -257,7 +257,10 @@ fn ghostty_key_from_crossterm_key_code( } } -fn ghostty_key_from_char(c: char, shifted_codepoint: Option) -> Option { +fn ghostty_key_from_char( + c: char, + shifted_codepoint: Option, +) -> Option { use crate::ghostty::ffi; let base = if let Some(shifted) = shifted_codepoint.and_then(char::from_u32) { -- cgit v1.2.3