diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-04-03 23:52:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 23:52:44 +0000 |
commit | cbcc12944006603131119b73c2ad72ebccf4562d (patch) | |
tree | 3f323703c8ce47d1bf89c2e13f2c129b3e750683 /alacritty_terminal/src/event.rs | |
parent | 531e494cf9a90de91dbbb84cb6cfc3158b78f1f2 (diff) | |
download | alacritty-cbcc12944006603131119b73c2ad72ebccf4562d.tar.gz alacritty-cbcc12944006603131119b73c2ad72ebccf4562d.zip |
Add copy/paste/select hint actions
This adds some built-in actions for handling hint selections without
having to spawn external applications.
The new actions are `Copy`, `Select` and `Paste`.
Diffstat (limited to 'alacritty_terminal/src/event.rs')
-rw-r--r-- | alacritty_terminal/src/event.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/event.rs b/alacritty_terminal/src/event.rs index a1252570..70d16127 100644 --- a/alacritty_terminal/src/event.rs +++ b/alacritty_terminal/src/event.rs @@ -70,7 +70,7 @@ pub trait Notify { /// Notify that an escape sequence should be written to the PTY. /// /// TODO this needs to be able to error somehow. - fn notify<B: Into<Cow<'static, [u8]>>>(&mut self, _: B); + fn notify<B: Into<Cow<'static, [u8]>>>(&self, _: B); } /// Types that are interested in when the display is resized. |