Commit Graph

21 Commits

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