diff options
author | Hyper <HyperHamster@users.noreply.github.com> | 2023-12-28 10:05:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 20:05:56 +0400 |
commit | 234fea701c4b8043de3346fd3fdbca84f1593e08 (patch) | |
tree | 8bb900f2ba959dcdbb76da12e29175d4a0e2b910 | |
parent | ea450f5150b3afdcc10898215c0e63dd79f8fd77 (diff) | |
download | alacritty-234fea701c4b8043de3346fd3fdbca84f1593e08.tar.gz alacritty-234fea701c4b8043de3346fd3fdbca84f1593e08.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>, |