diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-09 08:56:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-09 08:56:43 -0700 |
commit | 9ba313ab7ff8c2c0998fd3f81411a327adbbfe84 (patch) | |
tree | 99ae3661af9b2848f0235a280f7759a27a319681 /termbox | |
parent | e0053bcb206dc7c126713f15d4a1e2672e5579a5 (diff) | |
download | mu-9ba313ab7ff8c2c0998fd3f81411a327adbbfe84.tar.gz |
1313 - merge termbox
Diffstat (limited to 'termbox')
-rw-r--r-- | termbox/README | 4 | ||||
-rw-r--r-- | termbox/input.inl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/termbox/README b/termbox/README index eccbee72..bb97525c 100644 --- a/termbox/README +++ b/termbox/README @@ -1,2 +1,2 @@ -Fork of https://github.com/nsf/termbox as of 2015-04-22 -git hash 7c154d98a7d9207d768ee0a8e519ede74c0105cf +Fork of https://github.com/nsf/termbox as of 2015-05-09 +git hash c5b8b598f17fe60477ba0bb57d24bf8dae11ef92 diff --git a/termbox/input.inl b/termbox/input.inl index 6493273c..618e0b28 100644 --- a/termbox/input.inl +++ b/termbox/input.inl @@ -42,8 +42,8 @@ static int parse_escape_seq(struct tb_event *event, const char *buf, int len) event->type = TB_EVENT_MOUSE; // TB_EVENT_KEY by default // the coord is 1,1 for upper left - event->x = buf[4] - 1 - 32; - event->y = buf[5] - 1 - 32; + event->x = (uint8_t)buf[4] - 1 - 32; + event->y = (uint8_t)buf[5] - 1 - 32; return 6; } |