Skip to content

Commit c2d4501

Browse files
committed
Keeping up to date with tcod-rs
1 parent 9c5c02b commit c2d4501

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ fn main() {
77
while !(Console::window_closed() || exit) {
88
con.clear();
99
con.put_char(40, 25, '@', background_flag::Set);
10-
con.flush();
11-
let keypress = con.wait_for_keypress(true);
10+
Console::flush();
11+
let keypress = Console::wait_for_keypress(true);
1212
match keypress.key {
1313
Special(key_code::Escape) => exit = true,
1414
_ => {}

0 commit comments

Comments
 (0)