mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
Method rename
This commit is contained in:
parent
1935208de6
commit
8220b37c4f
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ actions!(
|
|||
///Initialize and register all of our action handlers
|
||||
pub fn init(cx: &mut MutableAppContext) {
|
||||
//Global binding overrrides
|
||||
cx.add_action(Terminal::send_ctrl_c);
|
||||
cx.add_action(Terminal::ctrl_c);
|
||||
cx.add_action(Terminal::up);
|
||||
cx.add_action(Terminal::down);
|
||||
cx.add_action(Terminal::escape);
|
||||
|
@ -204,7 +204,7 @@ impl Terminal {
|
|||
}
|
||||
|
||||
///Synthesize the keyboard event corresponding to 'ctrl-c'
|
||||
fn send_ctrl_c(&mut self, _: &CtrlC, cx: &mut ViewContext<Self>) {
|
||||
fn ctrl_c(&mut self, _: &CtrlC, cx: &mut ViewContext<Self>) {
|
||||
self.connection.update(cx, |connection, _| {
|
||||
connection.try_keystroke(&Keystroke::parse("ctrl-c").unwrap());
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue