Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix the typo
Kirill Bulatov95827d4c49d2
diff --git a/crates/terminal_view/src/terminal_view.rs b/crates/terminal_view/src/terminal_view.rsindex a6378e8c014..cc5c54eca90 100644--- a/crates/terminal_view/src/terminal_view.rs+++ b/crates/terminal_view/src/terminal_view.rs@@ -185,7 +185,7 @@ impl TerminalView {self.has_bell}- pub fn clear_bel(&mut self, cx: &mut ViewContext<TerminalView>) {+ pub fn clear_bell(&mut self, cx: &mut ViewContext<TerminalView>) {self.has_bell = false;cx.emit(Event::Wakeup);}@@ -332,7 +332,7 @@ impl TerminalView {}fn send_text(&mut self, text: &SendText, cx: &mut ViewContext<Self>) {- self.clear_bel(cx);+ self.clear_bell(cx);self.terminal.update(cx, |term, _| {term.input(text.0.to_string());});@@ -340,7 +340,7 @@ impl TerminalView {fn send_keystroke(&mut self, text: &SendKeystroke, cx: &mut ViewContext<Self>) {if let Some(keystroke) = Keystroke::parse(&text.0).log_err() {- self.clear_bel(cx);+ self.clear_bell(cx);self.terminal.update(cx, |term, cx| {term.try_keystroke(&keystroke, TerminalSettings::get_global(cx).option_as_meta);});@@ -700,7 +700,7 @@ pub fn regex_search_for_query(query: &project::search::SearchQuery) -> Option<Reimpl TerminalView {fn key_down(&mut self, event: &KeyDownEvent, cx: &mut ViewContext<Self>) {- self.clear_bel(cx);+ self.clear_bell(cx);self.pause_cursor_blinking(cx);self.terminal.update(cx, |term, cx| {