summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2019-05-01 19:20:33 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2019-06-10 19:40:46 +0300
commitfb406667abbd6c776c17c107b51094b0ef3f5c0d (patch)
tree89b59e8c6c2d04e4bf1f619a371a706780486863 /src
parent9143b2e7917437d9b1c245b9fcb85928c0347404 (diff)
add debug! macro to replace eprintlns
Diffstat (limited to 'src')
-rw-r--r--src/bin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin.rs b/src/bin.rs
index c1f7fe11..ec24b838 100644
--- a/src/bin.rs
+++ b/src/bin.rs
@@ -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");