Skip to content

Commit

Permalink
added crossterm event
Browse files Browse the repository at this point in the history
  • Loading branch information
Znackt committed Jul 6, 2024
1 parent d310c0f commit 14b213c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crossterm::event;

Check failure on line 1 in src/editor.rs

View workflow job for this annotation

GitHub Actions / Lints

unused import: `crossterm::event`

Check warning on line 1 in src/editor.rs

View workflow job for this annotation

GitHub Actions / Check

unused import: `crossterm::event`

Check warning on line 1 in src/editor.rs

View workflow job for this annotation

GitHub Actions / Test Suite

unused import: `crossterm::event`
use crossterm::event::{read, Event::Key, KeyCode::Char};
use crossterm::terminal::{disable_raw_mode, enable_raw_mode};
use std::io::{self, Read};
Expand Down

0 comments on commit 14b213c

Please sign in to comment.