diff options
author | Guillaume <g@bitimplosion.com> | 2019-11-12 11:32:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 11:32:48 +0100 |
commit | 67c9a8102b5ddd337c1ee2ab9a2ce81935123d88 (patch) | |
tree | d5f31752628329789541153a985cb50f944488c0 | |
parent | e58d24c9a945b29ca9a4fd18647749941ba5e48b (diff) | |
parent | 1c2ffcff2371182c83ff411c27ce742a4b9432a8 (diff) |
Merge pull request #4 from lferro9000/fix_3_echo_keys_to_screen
Add noecho to supress keys going to screen
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 06fcd0f..49e8a8c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,6 +87,9 @@ fn main() { render_level(&window, &dungeon.levels[0]); + window.keypad(true); + noecho(); + loop { // update actors // update character |