Merge pull request #258 from aarroyoc/master

add n as an option to get the next solution
This commit is contained in:
Mark Thom
2020-02-19 12:10:48 -04:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ pub fn next_keypress() -> ContinueResult {
for c in stdin.keys() {
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,
_ => {}
}