Skip to content

Commit

Permalink
fixes for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume committed Apr 1, 2019
1 parent 17f0ea3 commit b2420d1
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 deletions.
55 changes: 55 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ grin_servers = { path = "./servers", version = "1.1.0-beta.1" }
grin_util = { path = "./util", version = "1.1.0-beta.1" }

[target.'cfg(windows)'.dependencies]
cursive = { version = "0.10.0", default-features = false, features = ["pancurses-backend"] }
cursive = { version = "0.11.0", default-features = false, features = ["pancurses-backend"] }
[target.'cfg(windows)'.dependencies.pancurses]
version = "0.16.0"
features = ["win32"]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/tui/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl UI {
.send(ControllerMessage::Shutdown)
.unwrap();
});
grin_ui.cursive.set_fps(4);
grin_ui.cursive.set_autorefresh(true);
grin_ui
}

Expand Down

0 comments on commit b2420d1

Please sign in to comment.