aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2023-03-08Remove focus on the question when response is emptyJoris
2023-03-08Remove response blockJoris
This is too visible using dark colors in the terminal.
2023-03-05Fix clippy warningsJoris
2023-03-05Show phonetics if present when answer is correctJoris
2023-02-05Discard phonetics when checking responseJoris
2023-01-26Fix listening to Enter on questionJoris
2023-01-26Remove unused codeJoris
2023-01-26Upgrade dependenciesJoris
- Switch to crossterm - add --hide-progress option
2022-11-27Speed up deck synchronizationJoris
Apply changes for what has been inserted, updated, removed. Also use transactions to speed up multi-writing.
2022-11-26Go to evaluation if answer is correct when typingJoris
Don’t require to press Enter when the answer is correct.
2022-11-21Use f-strings when convenientJoris
2022-11-21Show errors in TUI instead of nothingJoris
Once the terminal was setup, errors were not shown in case the application stopped because of an error. So, show errors explicitely in TUI to be able to debug easily the deck for example.
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