Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Make dispatch_keystroke public to the crate only

Antonio Scandurra7250754f8e55
diff --git a/crates/gpui/src/app/window.rs b/crates/gpui/src/app/window.rs
index 1b9464ddeb1..606cfc9a246 100644
--- a/crates/gpui/src/app/window.rs
+++ b/crates/gpui/src/app/window.rs
@@ -449,7 +449,7 @@ impl<'a> WindowContext<'a> {
})
}
- pub fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool {
+ pub(crate) fn dispatch_keystroke(&mut self, keystroke: &Keystroke) -> bool {
let window_id = self.window_id;
if let Some(focused_view_id) = self.focused_view_id() {
let dispatch_path = self