diff options
author | Luis Ferro <luis.ferro@eggplant.io> | 2019-11-12 11:27:47 +0100 |
---|---|---|
committer | Luis Ferro <luis.ferro@eggplant.io> | 2019-11-12 11:27:47 +0100 |
commit | e18890ab0033583e67d0a81d185e93d4fbcb01f6 (patch) | |
tree | e07643c0e3f32209a24d552ebd7079aad68160ca | |
parent | 5175eecf982b817191b32ef031269808ceb23710 (diff) |
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 4426a93..df82f42 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 |