From e18890ab0033583e67d0a81d185e93d4fbcb01f6 Mon Sep 17 00:00:00 2001 From: Luis Ferro Date: Tue, 12 Nov 2019 11:27:47 +0100 Subject: Add noecho to supress keys going to screen --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3