diff options
author | Hyper <HyperHamster@users.noreply.github.com> | 2023-12-28 10:05:56 -0600 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2024-01-06 08:59:54 +0100 |
commit | 8465c2e6df2bc83bac4ee3a8c86383a5b9192ecf (patch) | |
tree | 735422a837b69c26c7823586d3c9222daf34014b | |
parent | 882954cb48d6d42035450894416d8217a8908cc0 (diff) | |
download | alacritty-8465c2e6df2bc83bac4ee3a8c86383a5b9192ecf.tar.gz alacritty-8465c2e6df2bc83bac4ee3a8c86383a5b9192ecf.zip |
Derive `Clone` for `EventLoopSender`
-rw-r--r-- | alacritty_terminal/src/event_loop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/src/event_loop.rs b/alacritty_terminal/src/event_loop.rs index 9b089313..21ab027c 100644 --- a/alacritty_terminal/src/event_loop.rs +++ b/alacritty_terminal/src/event_loop.rs @@ -349,6 +349,7 @@ impl event::OnResize for Notifier { } } +#[derive(Clone)] pub struct EventLoopSender { sender: Sender<Msg>, poller: Arc<polling::Poller>, |