]> _ Git - termbox2.git/commit
fix mouse x,y coordinate truncation in 1006/1015 modes fix_mouse_1006_mode
authormivirl <octoberstargazer7405@mivirl.dev>
Fri, 23 May 2025 08:54:28 +0000 (08:54 +0000)
committermivirl <octoberstargazer7405@mivirl.dev>
Thu, 19 Jun 2025 05:53:30 +0000 (05:53 +0000)
commitf72ecb69b2926b01342aabf6bf588df01348f832
treee7cd73b9c6d1eacf4eec2d8100835154398b48a6
parent8ee9dc17e1ca61c630f91db0aa7f81fa29a32040
fix mouse x,y coordinate truncation in 1006/1015 modes

In 1006 mode, x,y coordinates may be specified with integers larger
than can be stored in 8 bits. The cast to uint8_t prevented mouse
clicks at larger indices from being reported correctly.
termbox2.h