Skip to content

Commit

Permalink
1313 - merge termbox
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed May 9, 2015
1 parent e0053bc commit 9ba313a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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
4 changes: 2 additions & 2 deletions termbox/input.inl
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9ba313a

Please sign in to comment.