Skip to content

Commit

Permalink
Someone wrote huhn instead of clear
Browse files Browse the repository at this point in the history
  • Loading branch information
the-Jamz authored Jun 24, 2020
1 parent f50b9e4 commit 6ec8bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn monitor(auto: bool, out: &output::Preferences) {
Some(text) = receiver.recv() => {
if text.trim().to_uppercase() == "EXIT" {
break;
} else if text.trim().to_uppercase() == "HUHN" {
} else if text.trim().to_uppercase() == "CLEAR" {
output::clear();
} else if text.to_uppercase().starts_with("HUHN") {
if port.write(handle(text).as_bytes()).await.is_err() {
Expand Down

0 comments on commit 6ec8bed

Please sign in to comment.