1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 11:50:42 +03:00

suppress dead code warning for locate_app_wide_key_assignment

It is used, just not currently on all platforms, and I want to
compile and verify it on linux which I use most often.
This commit is contained in:
Wez Furlong 2023-04-02 13:36:13 -07:00
parent b853d00cff
commit 7735602bfa
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -396,6 +396,7 @@ impl InputMap {
/// This is used to figure out whether an application-wide keyboard shortcut /// This is used to figure out whether an application-wide keyboard shortcut
/// can be safely configured for this action, without interfering with any /// can be safely configured for this action, without interfering with any
/// transient key_table mappings. /// transient key_table mappings.
#[allow(dead_code)]
pub fn locate_app_wide_key_assignment( pub fn locate_app_wide_key_assignment(
&self, &self,
action: &KeyAssignment, action: &KeyAssignment,