add n as an option to get the next solution

This commit is contained in:
Adrián Arroyo Calle
2020-02-10 17:51:26 +01:00
parent 1b5cf493d6
commit a732bc9dc4

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,
_ => {}
}