Browse Source

Added exit on ctrl-C

master
Thomas Johnson 2 years ago
parent
commit
b73a9139f0
  1. 1
      src/main.rs

1
src/main.rs

@ -63,6 +63,7 @@ fn main() {
Key::Char('b') => head.block_eraser_mode(),
Key::Char('\n') => head.toggle_down(),
Key::Char('q') => break,
Key::Ctrl('c') => break,
_ => {}
}
} else {

Loading…
Cancel
Save