diff options
author | Iago Garrido <iago086@gmail.com> | 2019-11-18 20:56:58 +0100 |
---|---|---|
committer | Iago Garrido <iago086@gmail.com> | 2019-11-18 20:56:58 +0100 |
commit | 0a3b3bf177d54c68a22f061a7087d20d19488bba (patch) | |
tree | ea1bedebe13d48172f3d52ca6551804facf7c92d /src/main.rs | |
parent | 806ba04cfc6f225df9a3628fefd04578cefdbda5 (diff) |
add initial ui logic
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 75452d9..81f537b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,6 +51,8 @@ fn main() { state.render_player(); + state.render_ui(); + if let Some(event) = reader.next() { match event { InputEvent::Keyboard(KeyEvent::Char('q')) => break, |