Skip to content

Commit

Permalink
fix: problem with the gui on windows
Browse files Browse the repository at this point in the history
The issue was at the level of `rstk` crate.
An update to `0.3.0` fixed the problem.

Additional change: we revert the pr #63.
  • Loading branch information
pythonbrad committed Apr 18, 2024
1 parent c65d6dd commit eb8f902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
7 changes: 1 addition & 6 deletions src/rstk_ext.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit eb8f902

Please sign in to comment.