Age | Commit message (Collapse) | Author |
|
- Switch to crossterm
- add --hide-progress option
|
|
Apply changes for what has been inserted, updated, removed.
Also use transactions to speed up multi-writing.
|
|
Don’t require to press Enter when the answer is correct.
|
|
|
|
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.
|
|
|
|
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.
|
|
Around and between words. This prevent saying a response is false when
the only difference is whitespaces.
|
|
|
|
Prevent the response input to change width
|
|
|
|
|
|
|
|
|
|
Also fix the program to crash if there is no words.
|
|
|
|
|
|
|
|
|
|
|
|
Look at the modification time of the deck, and synchronize if it has
been modified after the last deck read.
|
|
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.
|
|
|
|
|
|
|
|
|