unwrap errors because yolo
This commit is contained in:
parent
0b85666e82
commit
a3daeddd6d
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ use midir::{MidiInput, MidiInputPort};
|
|||
|
||||
fn main() {
|
||||
let mut enigo = Enigo::new(&Settings::default()).unwrap();
|
||||
enigo.text("echo \"hello world\"");
|
||||
enigo.key(Key::Return, Direction::Press);
|
||||
enigo.text("echo \"hello world\"").unwrap();
|
||||
enigo.key(Key::Return, Direction::Press).unwrap();
|
||||
|
||||
match run() {
|
||||
Ok(_) => {}
|
||||
|
|
Loading…
Reference in a new issue