diff --git a/Cargo.toml b/Cargo.toml index 1e82340..3732694 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ thiserror = "1.0.63" tray-item = { version = "0.10.0", optional = true } [build-dependencies] -slint-build = "1.6" +slint-build = "1.7.2" [target.'cfg(windows)'.build-dependencies] winresource = "0.1.17" diff --git a/README.md b/README.md index 34211b3..a3e946c 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Multi-platform features: * The main target is Windows 11, but it should work on older versions of Windows as well. No need for administrator privileges. * On Linux/macOS, there is no strict requirement for this but the missing implementations are: + * [ ] The caret locator (`src/caret_locator.rs`) that places the window near the caret. * [ ] The keyboard shortcut to open the picker. (Win + .) (`src/key_shortcut.rs`) * [ ] The “key interceptor” that prevents focus being made to the Emoji Picker window AND intercepts every key made while the picker is open. * [ ] The “key sender” that sends keys to the main window. diff --git a/src/main.rs b/src/main.rs index e7e5228..0261ecf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![windows_subsystem = "windows"] + use handlers::{HandlerEvent, HandlerNotifyEvent, Handlers, NotifierReason}; use slint::{Model, ModelRc, Weak}; use std::sync::{Arc, Mutex, RwLock};