Commit Graph

21 Commits

Author SHA1 Message Date
Shylie
1712c1b1e8 Refactor terml_get and terml_set 2024-05-03 10:15:35 -04:00
Shylie
98097d7540 Partial redrawing 2024-04-15 17:59:59 -04:00
Shylie
cae0ee2160 Emit CR as well as NL 2024-04-15 09:37:58 -04:00
Shylie
7dd2afe186 Merge branch 'main' of https://github.com/Shylie/terml 2024-04-14 17:03:56 -04:00
Shylie
061f318247 Translate carriage returns to newlines on windows 2024-04-14 17:03:50 -04:00
Shylie
8abd908497 Fix incorrect auto-format 2024-03-19 16:03:08 -04:00
Shylie
a66ff4e82b Fix color change between last cell and first cell; Fix cursor positions 2024-03-19 16:02:39 -04:00
Shylie
ea1e1cee82 Fix windows build and issue with printing codepoints that don't move the cursor 2024-03-19 14:59:05 -04:00
17b275b098 moved SELECT_UTF8() to the same line 2024-03-09 16:27:43 -06:00
520f6c6625 linux: set console codepage to UTF8 2024-03-09 16:23:41 -06:00
Shylie
a6a2141049 Merge branch 'main' of https://github.com/Shylie/terml 2024-03-09 13:17:10 -05:00
Shylie
9ac37a65d7 Remove binary separators 2024-03-09 13:17:03 -05:00
Shylie
35a7d4629a Simplify terml_get function 2024-03-09 09:47:47 -05:00
Shylie
2210bf7d69 Add single codepoint unicode character support 2024-03-08 15:44:27 -05:00
Shylie
d6db7301f0 Remove new_width and new_height parameters from resize callback. Use terml_get_width() and terml_get_height() instead. 2024-03-07 11:47:41 -05:00
Shylie
97ff848762 Fix issue caused by event loop taking too long 2024-02-28 14:14:46 -05:00
Shylie
c949dbb9d9 Fix bg color get 2024-02-28 12:38:48 -05:00
Shylie
f032b15b3e Don't send shift key events 2023-12-27 14:18:07 -05:00
Shylie
8830cb2a76 Fix integer overflow bug causing infinite event polling 2023-12-25 23:33:27 -05:00
Shylie
2cb9c0273f Added resize callback, made main callback optional 2023-12-25 17:38:44 -05:00
Shylie
226adeaf72 Initial commit. 2023-12-25 11:26:13 -05:00