Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNerma committed Nov 19, 2022
1 parent a345d4f commit fbd6872
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 19 deletions.
91 changes: 74 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/brainfuck/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
rand = "0.8.5"
crossterm = "0.23.2"
crossterm = "0.25.0"
lrvm = { path = "../../lrvm" }
lrvm_aux = { path = "../../lrvm_aux" }
lrvm_tools = { path = "../../lrvm_tools" }
4 changes: 3 additions & 1 deletion examples/brainfuck/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crossterm::event::{self, Event, KeyCode, KeyEvent};
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind};
use crossterm::terminal;
use lrvm_aux::display::{BufferedDisplay, CharDisplay, NumberDisplay};
use lrvm_aux::keyboard::{SyncCharKeyboard, SyncLineKeyboard};
Expand Down Expand Up @@ -47,6 +47,8 @@ fn main() {
if let Event::Key(KeyEvent {
code: KeyCode::Char(c),
modifiers: _,
kind: KeyEventKind::Release,
state: _,
}) = event::read().unwrap()
{
break c;
Expand Down

0 comments on commit fbd6872

Please sign in to comment.