Recent commits to memoire (215be5cbcff31f12dab6b0797008425443660099) https://git.dkl9.net/memoire/tree/215be5cbcff31f12dab6b0797008425443660099 Recent commits feed provided by GitList. Add LICENSE (GNU AGPL) https://git.dkl9.net/memoire/commit/215be5cbcff31f12dab6b0797008425443660099 contact@dkl9.net (dkl9) Wed, 05 Jul 2023 07:02:40 -0400 215be5cbcff31f12dab6b0797008425443660099 Add "seq" card type The `CardType` field of a card can now have value "seq" (rather than just "bmc" as in b39812d), indicating that each double-semicolon (`;;`) in the `BaseNote` indicates a point at which to split the text, which is to be memorised in sequential steps. The text before the first `;;` is presented in any case as a prompt. The "a" option (addcards.lua) still produces `bmc` cards. Making a `seq` card requires a lot of manual effort for now. https://git.dkl9.net/memoire/commit/44e11a9be653c920f6b7afd548024c6bcd2fe700 (John Smith) Thu, 29 Jun 2023 17:42:36 -0400 44e11a9be653c920f6b7afd548024c6bcd2fe700 Optimise recrw.write By replacing a frequently-executed line's string.format with direct string concatenation, this makes recrw.write faster -- about 30% less execution time, in my tests. https://git.dkl9.net/memoire/commit/3b46e0b1091f255c7424e7a96e127db8d5957c7f (John Smith) Wed, 28 Jun 2023 12:30:42 -0400 3b46e0b1091f255c7424e7a96e127db8d5957c7f Fix bug in b39812d https://git.dkl9.net/memoire/commit/0d0e5dd2dc73c4eea38de7a9637db753c903a8bd (John Smith) Tue, 27 Jun 2023 12:53:53 -0400 0d0e5dd2dc73c4eea38de7a9637db753c903a8bd Remove braces in Prompt:text() for bmc https://git.dkl9.net/memoire/commit/10b7415f351417d5458a6f295e3d9c3ec9bf2695 (John Smith) Tue, 27 Jun 2023 12:43:56 -0400 10b7415f351417d5458a6f295e3d9c3ec9bf2695 Remove dead functions from src/prompt.lua https://git.dkl9.net/memoire/commit/5b98914ac0298f213c6ae5bdc82995b6f9f48697 (John Smith) Tue, 27 Jun 2023 12:38:37 -0400 5b98914ac0298f213c6ae5bdc82995b6f9f48697 Reformulate data structures To make the code make more sense and be more extensible for potential future card formats, this replaces the list-of-lists-of-prompts data model with a list-of-cards model, where each card has an associated list of prompts. This involved many changes to the code internals and some changes to the Recfile deck format, but there should be no significant changes for the end user. https://git.dkl9.net/memoire/commit/b39812d507623ef857d335fc2739c39a930cc3b6 (John Smith) Tue, 27 Jun 2023 12:35:37 -0400 b39812d507623ef857d335fc2739c39a930cc3b6 Abbreviate vocal review "hard, good, easy?" to "rating?" https://git.dkl9.net/memoire/commit/f6c920b1beceb4911647720fd05424d3861ef73a (John Smith) Sun, 18 Jun 2023 08:55:16 -0400 f6c920b1beceb4911647720fd05424d3861ef73a Clean up iv window title The title given to iv when displaying an image from a card is no longer cluttered by terminal-specific control characters. https://git.dkl9.net/memoire/commit/318c4dfc14dda51205ffb3dedc8775e311de1d7d (John Smith) Sun, 11 Jun 2023 12:47:58 -0400 318c4dfc14dda51205ffb3dedc8775e311de1d7d Pause between context and prompt If the BoldContext option is set and a card has a context indicator at the start, in addition to displaying the context in bold, the rest of the card will be displayed only after a 0.3-second delay, forcing the user to distinctly notice the context. This fixes my common failure mode of giving the wrong answer to a prompt just sith I didn't actually look at the context and assumed it asked for something different. https://git.dkl9.net/memoire/commit/2f32b5cbe56e5c2a30b0f11a5c3377db7d348fb5 (John Smith) Sun, 11 Jun 2023 12:43:07 -0400 2f32b5cbe56e5c2a30b0f11a5c3377db7d348fb5