diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-05-01 19:20:33 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:46 +0300 |
commit | fb406667abbd6c776c17c107b51094b0ef3f5c0d (patch) | |
tree | 89b59e8c6c2d04e4bf1f619a371a706780486863 /src | |
parent | 9143b2e7917437d9b1c245b9fcb85928c0347404 (diff) |
add debug! macro to replace eprintlns
Diffstat (limited to 'src')
-rw-r--r-- | src/bin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ fn main() { /* Poll on all channels. Currently we have the input channel for stdin, watching events and the signal watcher. */ chan_select! { receiver.recv() -> r => { - match r.unwrap() { + match std::dbg!(r.unwrap()) { ThreadEvent::Input(Key::Ctrl('z')) => { state.switch_to_main_screen(); //_thread_handler.join().expect("Couldn't join on the associated thread"); |