1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-25 20:33:34 +03:00
Commit Graph

169 Commits

Author SHA1 Message Date
Steven van den Broek
d6021c16ed
Add info about terminfo problems with snap 2020-07-21 10:20:16 +02:00
Steven van den Broek
4adbd76b32 Let parsing succeed if file does not end with --- 2020-07-21 09:45:02 +02:00
Steven van den Broek
bdc718844f Save absolute filepaths when CLI is used 2020-07-21 09:44:04 +02:00
Steven van den Broek
1df02a57ed Hide hidden files/dirs by default, and add control 2020-07-21 08:58:11 +02:00
Steven van den Broek
1c675d6e69 Merge branch 'master' of https://github.com/Yvee1/hascard 2020-07-20 21:08:31 +02:00
Steven van den Broek
fccf59d1e7 Bump version and add version constraints to deps 2020-07-20 21:08:28 +02:00
Steven van den Broek
58f4fe32b4
Update README, add usage section among other things 2020-07-20 18:13:12 +02:00
Steven van den Broek
7b680330ec Only allow .txt format & add to recents via CLI 2020-07-20 17:43:28 +02:00
Steven van den Broek
b307bd7f40 Make names of recent decks unique 2020-07-20 16:32:00 +02:00
Steven van den Broek
e0e2a508aa
Mention nix in the installation instructions 2020-07-20 14:15:43 +02:00
Steven van den Broek
fa73e5284b
Merge pull request #1 from srid/patch-1
Add Nix support
2020-07-20 14:06:49 +02:00
Sridhar Ratnakumar
8e7b6ef079
Add Nix support
This allows you to build the project with `nix-build`, as well as drop into a dev shell via `nix-shell`.
2020-07-20 07:16:41 -04:00
Steven van den Broek
d7befd5f0a Merge branch 'master' of https://github.com/Yvee1/hascard 2020-07-20 12:59:39 +02:00
Steven van den Broek
2b1176aba4 Improve list of recently selected cards
Fix the bug that recently selected file does not appear immediately, and use a stack such that the files are ordered from most recent to last recent
2020-07-20 12:59:33 +02:00
Steven van den Broek
50615196ff Return default settings if parsing of file fails 2020-07-20 10:45:57 +02:00
Steven van den Broek
ef144b1d44
Add installation instructions 2020-07-19 19:31:29 +02:00
Steven van den Broek
e251e7cb0b Add snapcraft 2020-07-19 18:55:48 +02:00
Steven van den Broek
e9c6f95135 Update info 2020-07-18 19:58:57 +02:00
Steven van den Broek
2e38d8920d Cleaning and reorganization 2020-07-18 19:29:11 +02:00
Steven van den Broek
b7721ea52c Add setting for setting cursor with escape code 2020-07-18 19:09:07 +02:00
Steven van den Broek
44f95bc4ae Small fixes and added gifs and explantion of cards 2020-07-18 17:38:57 +02:00
Steven van den Broek
516bc2d21f Add possibility to escape underscores 2020-07-18 15:13:34 +02:00
Steven van den Broek
f5a7d2d844 Fix selection after parse error 2020-07-18 14:45:20 +02:00
Steven van den Broek
faaf372441 Add multiple answer possibilities for each gap 2020-07-18 14:28:24 +02:00
Steven van den Broek
898e79d5b0 Add version number flag 2020-07-18 14:07:02 +02:00
Steven van den Broek
8ccd64a9ea Merge branch 'master' of https://github.com/Yvee1/hascard 2020-07-18 12:10:58 +02:00
Steven van den Broek
cb015e8cf3 Add CLI help text 2020-07-18 12:10:55 +02:00
Steven van den Broek
1d59117d09
Update README.md 2020-07-17 22:34:18 +02:00
Steven van den Broek
fe9b1e1007 Add settings 2020-07-17 22:33:27 +02:00
Steven van den Broek
705ac6167e Add info menu 2020-07-17 22:32:41 +02:00
Steven van den Broek
dd3c1fc5ae Fix bug when quitting filebrowser 2020-07-17 22:32:22 +02:00
Steven van den Broek
e2b93133fe Add possibility to provide card in CLI argument 2020-07-17 22:31:32 +02:00
Steven van den Broek
f33dba7b37 Small adjustments to appearance of start screens 2020-07-17 13:28:00 +02:00
Steven van den Broek
8471316f9e Finish multiple answer cards 2020-07-17 13:02:54 +02:00
Steven van den Broek
4272f2ed45 Basic visuals of multiple answer cards 2020-07-16 18:13:27 +02:00
Steven van den Broek
dab0919f55 Change to blinking line cursor on start of program 2020-07-16 18:13:12 +02:00
Steven van den Broek
202cc6e32b Parsing of multiple choice with multiple answers 2020-07-16 18:12:43 +02:00
Steven van den Broek
64c3d02391 Add gif 2020-07-15 15:32:38 +02:00
Steven van den Broek
049f9ebc8c Press enter to continue after correct answer
And some cleaning
2020-07-15 14:16:21 +02:00
Yvee1
67616c7eaf Add colouring of correct and incorrect gaps 2020-07-14 21:43:56 +02:00
Yvee1
c8df986a2f Fix addition of recently selected cards to xdg 2020-07-14 21:41:57 +02:00
Yvee1
f1fa72340a Fix remaining issues with gapped questions 2020-07-14 16:56:18 +02:00
Yvee1
3da18b5748 Fix some of the wrapping issues with gap questions 2020-07-10 14:09:52 +02:00
Yvee1
a3471e1df6 Attempt to make gapped sentences wrap
Wrapping is not accurate yet, it wraps too late therefore cutting off some text. Also all spaces are removed because of the textwrapping, so have to solve that issue too.
2020-07-09 17:54:18 +02:00
Yvee1
641432b570 Add centered wrapped text widget 2020-07-09 13:07:51 +02:00
Yvee1
bd2eedd52f Display exception in widget, at CardSelector 2020-02-10 22:12:52 +01:00
Yvee1
526559f141 Much better navigation between parts of program 2020-02-08 22:24:40 +01:00
Yvee1
2228258dd1 added xdg data file for recently selected cards 2020-02-08 15:26:08 +01:00
Yvee1
7d7cb26093 some vi bindings 2020-02-08 12:00:52 +01:00
Yvee1
afb08590cf Refactoring: put types in seperate module 2020-02-02 12:42:45 +01:00