Merge pull request #1405 from jpttrssn/remove-desktop-search-to-type

fix: Only type to search in App mode
This commit is contained in:
Jeremy Soller 2025-12-04 08:56:15 -07:00 committed by GitHub
commit 083afbe028
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2984,7 +2984,8 @@ impl Application for App {
}
// Uncaptured keys with only shift modifiers go to the search or location box
if !modifiers.logo()
if matches!(self.mode, Mode::App)
&& !modifiers.logo()
&& !modifiers.control()
&& !modifiers.alt()
&& matches!(key, Key::Character(_))