mirror of
https://github.com/wez/wezterm.git
synced 2024-11-13 07:22:52 +03:00
wezterm-gui: fixup compilation
This commit is contained in:
parent
61c52af491
commit
19843ba8f3
@ -483,14 +483,14 @@ impl WindowCallbacks for TermWindow {
|
||||
let (leader_active, leader_mod) = match self.leader_is_down.as_ref() {
|
||||
Some(expiry) if *expiry > std::time::Instant::now() => {
|
||||
// Currently active
|
||||
(true, window::input::Modifiers::LEADER)
|
||||
(true, Modifiers::LEADER)
|
||||
}
|
||||
Some(_) => {
|
||||
// Expired; clear out the old expiration time
|
||||
self.leader_is_down.take();
|
||||
(false, window::input::Modifiers::NONE)
|
||||
(false, Modifiers::NONE)
|
||||
}
|
||||
_ => (false, window::input::Modifiers::NONE),
|
||||
_ => (false, Modifiers::NONE),
|
||||
};
|
||||
|
||||
let modifiers = window_mods_to_termwiz_mods(window_key.modifiers);
|
||||
|
Loading…
Reference in New Issue
Block a user