aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/dev-server (renamed from bin/watch.sh)0
-rw-r--r--src/gui/question.rs1
2 files changed, 1 insertions, 0 deletions
diff --git a/bin/watch.sh b/bin/dev-server
index e3a6c28..e3a6c28 100755
--- a/bin/watch.sh
+++ b/bin/dev-server
diff --git a/src/gui/question.rs b/src/gui/question.rs
index 5055417..abb8fd7 100644
--- a/src/gui/question.rs
+++ b/src/gui/question.rs
@@ -216,6 +216,7 @@ fn is_correct(input: &str, responses: &[String]) -> bool {
responses
.iter()
.map(|r| r.split('(').collect::<Vec<&str>>()[0].trim())
+ .map(|r| r.split('[').collect::<Vec<&str>>()[0].trim())
.any(|x| x == input)
}