Fix SendText
/SendKeystroke
having the wrong context name in terminal
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
8d07246f7d
commit
d79b8e4b98
2 changed files with 2 additions and 10 deletions
|
@ -61,15 +61,7 @@ use lazy_static::lazy_static;
|
||||||
|
|
||||||
actions!(
|
actions!(
|
||||||
terminal,
|
terminal,
|
||||||
[
|
[Clear, Copy, Paste, ShowCharacterPalette, SearchTest,]
|
||||||
Clear,
|
|
||||||
Copy,
|
|
||||||
Paste,
|
|
||||||
ShowCharacterPalette,
|
|
||||||
SearchTest,
|
|
||||||
SendText,
|
|
||||||
SendKeystroke,
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
|
||||||
///Scrolling is unbearably sluggish by default. Alacritty supports a configurable
|
///Scrolling is unbearably sluggish by default. Alacritty supports a configurable
|
||||||
|
|
|
@ -57,7 +57,7 @@ pub struct SendText(String);
|
||||||
#[derive(Clone, Debug, Default, Deserialize, PartialEq)]
|
#[derive(Clone, Debug, Default, Deserialize, PartialEq)]
|
||||||
pub struct SendKeystroke(String);
|
pub struct SendKeystroke(String);
|
||||||
|
|
||||||
impl_actions!(terminal_view, [SendText, SendKeystroke]);
|
impl_actions!(terminal, [SendText, SendKeystroke]);
|
||||||
|
|
||||||
pub fn init(cx: &mut AppContext) {
|
pub fn init(cx: &mut AppContext) {
|
||||||
terminal_panel::init(cx);
|
terminal_panel::init(cx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue