changed enter check
This commit is contained in:
parent
5b0a6dddaa
commit
b98f549a73
@ -32,7 +32,7 @@ fn main() {
|
|||||||
let a = stdin.next();
|
let a = stdin.next();
|
||||||
|
|
||||||
match a {
|
match a {
|
||||||
Some(Ok(13)) =>
|
Some(Ok(b'\n')) =>
|
||||||
{
|
{
|
||||||
input_buf.lock().unwrap().clear();
|
input_buf.lock().unwrap().clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user