~jstnas/tt

feat(twin): implemented grapheme

also tidied up.
feat(twin): get_attr now takes chars
feat(twin): get_wc now takes chars

simplified get_wc function
feat(twin): is_wc now takes chars
feat(twin): word_length now uses grapheme

word length calculation now correctly uses number of grapheme clusters rather than bytes.
fix(twin): simplified

- shortened word_length.
- replaced wcscmp with strcmp in word_incorrect.
feat: no longer using wchar

because char is better
fix(menu): menus update on input
feat(file): file can now load long lines.
feat: update

reformatted and misc fixes.
feat(file): simplified location definition
feat(Makefile): added targets for words and quotes
feat(Makefile): update
650cdba7 — Justinas Grigas 1 year, 2 months ago
fix: can now run without quotes/words files

tt can now run without said files
9bae7940 — Justinas Grigas 1 year, 5 months ago
timer: added timer_string

it's a function that converts a duration in seconds to a formatted wide
string in the H:M:S format.
28023d40 — Justinas Grigas 1 year, 5 months ago
twin: fixed freeing sentences
baddf0de — Justinas Grigas 1 year, 5 months ago
twin: time duration formatted

the twin title bar in time mode will now show the formatted time left.
This is useful for longer tests.
eb064228 — Justinas Grigas 1 year, 5 months ago
file: fixed errno
d0ab6ea3 — Justinas Grigas 1 year, 5 months ago
twin: incorrect words are underlined
00a41c1c — Justinas Grigas 1 year, 6 months ago
menu: simplified matches

matches start with all option bits set so it's easier to compare which
options should be displayed
Next