Merge pull request #258 from aarroyoc/master
add n as an option to get the next solution
This commit is contained in:
@@ -41,7 +41,7 @@ pub fn next_keypress() -> ContinueResult {
|
|||||||
|
|
||||||
for c in stdin.keys() {
|
for c in stdin.keys() {
|
||||||
match c.unwrap() {
|
match c.unwrap() {
|
||||||
Key::Char(' ') | Key::Char(';') => return ContinueResult::ContinueQuery,
|
Key::Char(' ') | Key::Char(';') | Key::Char('n') => return ContinueResult::ContinueQuery,
|
||||||
Key::Char('.') => return ContinueResult::Conclude,
|
Key::Char('.') => return ContinueResult::Conclude,
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user