aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-27Fix sync testsJoris
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-02Fix reading the deck when it contains a minusJoris
2022-11-02Allow to use Control-C to quit in messageJoris
2022-11-02Allow comments at end of linesJoris
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-12Hide deck extension when showing titleJoris
2022-02-12Show current progress after the deck nameJoris
2022-02-12Say when the next card will be availableJoris
2022-02-06fixup! Replace a card whenever the front or the back changedJoris
2022-02-06Ask only for the deck pathJoris
Derive the DB path from the deck path.
2022-02-06Give indications in parenthesisJoris
2022-02-06Replace a card whenever the front or the back changedJoris
2022-01-29Read deck path from arguments as wellJoris
2022-01-26Read database path from argumentsJoris
2022-01-26Shuffle initial presentiation order from insert orderJoris
2021-11-19Add initial working versionJoris