aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2022-11-02Allow to use Control-C to quit in messageJoris
2022-10-27Don’t show responses when correctJoris
In case a question has many responses, we previously showed all the responses, no matter if it was answered correctly or not. But this gets too much is they eye, maybe because it’s associated with failure, because we show the response in this case. Just say it’s OK, there is no need to show the alternatives. Anyway, the alternatives will be asked in another card.
2022-10-22Remove whitespaces in responseJoris
Around and between words. This prevent saying a response is false when the only difference is whitespaces.
2022-10-09Allow to abort when selecting difficultyJoris
2022-10-09Replace the cursor by a space in answer modeJoris
Prevent the response input to change width
2022-10-09Format codeJoris
2022-10-09Show cursor only when writingJoris
2022-10-09Trim input when checking for emptynessJoris
2022-10-09Abort with C-cJoris
2022-10-09Let one space wher removing last wordJoris
Also fix the program to crash if there is no words.
2022-10-09Show cursorJoris
2022-09-12React to C-u and C-w keysJoris
2022-09-12Trim input when checking responsesJoris
2022-02-26Fix linter warningsJoris
2022-02-13Modify synchronizing messageJoris
2022-02-13Synchronize deck only if necessaryJoris
Look at the modification time of the deck, and synchronize if it has been modified after the last deck read.
2022-02-13Properly shuffle card presentation from card insertionJoris
Instead of messing with deck_read, subtracting a random amount of seconds to it, pick a random card instead of the first ready. This permits to remove the dependency to the rand crate.
2022-02-12Show current progress after the deck nameJoris
2022-02-12Say when the next card will be availableJoris
2022-02-06Give indications in parenthesisJoris
2021-11-19Add initial working versionJoris