mirror of
https://git.shylie.info/shylie/terml.git
synced 2024-12-22 22:50:05 +00:00
Use unsigned int instead of int for codepoints
This commit is contained in:
parent
cae0ee2160
commit
46bc24be3b
@ -8,7 +8,7 @@ extern "C"
|
|||||||
|
|
||||||
typedef void (*terml_main_callback) ();
|
typedef void (*terml_main_callback) ();
|
||||||
typedef int (*terml_quit_callback) ();
|
typedef int (*terml_quit_callback) ();
|
||||||
typedef void (*terml_key_callback) (char code);
|
typedef void (*terml_key_callback) (unsigned int code);
|
||||||
typedef void (*terml_resize_callback)(
|
typedef void (*terml_resize_callback)(
|
||||||
unsigned int previous_width,
|
unsigned int previous_width,
|
||||||
unsigned int previous_height
|
unsigned int previous_height
|
||||||
@ -16,7 +16,7 @@ typedef void (*terml_resize_callback)(
|
|||||||
|
|
||||||
struct tcell
|
struct tcell
|
||||||
{
|
{
|
||||||
int codepoint;
|
unsigned int codepoint;
|
||||||
int foreground;
|
int foreground;
|
||||||
int background;
|
int background;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user