Fix: CLI doesn't correctly process input after displaying the front of a card when reviewing #10

Open
opened 2026-09-24 23:35:30 +00:00 by albert · 0 comments
Owner
dirt: # user enters nothing instead of "j" or "q"
expected [jq], try again: j

expected [jq], try again: j
j
brown: 

problems:

  • line 1: entering nothing should probably be ignored, but it is treated as input
  • lines 2-3: entering "j" requires the user to enter an extra time ("j\n\n") but isn't accepted
  • lines 4-5: instead we must enter "j" twice for it to work ("j\nj\n")
``` dirt: # user enters nothing instead of "j" or "q" expected [jq], try again: j expected [jq], try again: j j brown: ``` problems: - line 1: entering nothing should probably be ignored, but it is treated as input - lines 2-3: entering "j" requires the user to enter an extra time ("j\n\n") but isn't accepted - lines 4-5: instead we must enter "j" twice for it to work ("j\nj\n")
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
albert/ankilo#10
No description provided.