1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-26 14:54:16 +03:00
This commit is contained in:
Wez Furlong 2023-04-11 22:16:43 -07:00
parent 88cc82d294
commit c8b8e81171
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -197,9 +197,9 @@ fn parse_buffered_data(pane: Weak<dyn Pane>, dead: &Arc<AtomicBool>, mut rx: Fil
if action_size < buf.len() {
let poll_delay = match deadline {
None => {
deadline.replace(Instant::now() + delay);
Some(delay)
},
deadline.replace(Instant::now() + delay);
Some(delay)
}
Some(target) => target.checked_duration_since(Instant::now()),
};
if poll_delay.is_some() {