diff --git a/Cargo.toml b/Cargo.toml index 26cc580..02ff648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,6 @@ rhai = ["afrim/rhai"] [dependencies] afrim = { version = "0.5.4", default-features = false, git = "https://github.com/pythonbrad/afrim", rev = "7e5daba" } clap = "4.5.4" -rstk = "0.1.0" +rstk = "0.3.0" serde = { version = "1.0.197", features = ["serde_derive"] } toml = "0.8.12" diff --git a/src/rstk_ext.rs b/src/rstk_ext.rs index fb5d55d..a044fea 100644 --- a/src/rstk_ext.rs +++ b/src/rstk_ext.rs @@ -1,12 +1,7 @@ use rstk::*; pub fn init_rstk_ext() { - rstk::tell_wish( - r#" - chan configure stdin -encoding utf-8 - wm protocol . WM_DELETE_WINDOW {destroy .}; - "#, - ); + rstk::tell_wish("chan configure stdin -encoding utf-8"); } #[derive(Clone, Debug, Default)]