input: dispatch editing keys through actions
This commit is contained in:
+6
-1
@@ -13,7 +13,12 @@ pub use gpui_native_core::*;
|
||||
use gpui::App;
|
||||
|
||||
/// Initializes the framework: installs the theme global from the current
|
||||
/// system appearance. Call once before opening windows.
|
||||
/// system appearance and, with the `core` feature, the component globals
|
||||
/// and keybindings. Call once before opening windows.
|
||||
pub fn init(cx: &mut App) {
|
||||
#[cfg(feature = "core")]
|
||||
gpui_native_core::init(cx);
|
||||
|
||||
#[cfg(not(feature = "core"))]
|
||||
theme::Theme::init(cx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user