raylib-ocaml icon indicating copy to clipboard operation
raylib-ocaml copied to clipboard

Raygui.text_box appends unwanted '0' bytes to result

Open kevinclancy opened this issue 4 months ago • 2 comments

When I call Raygui.text_box bounds text edit_mode the result will append the byte 0 onto text even if no key has been pressed. I can work around this by trimming 0's off the result.

Also, the doc comment suggests there is is a text_size argument, which text_box doesn't actually have.

kevinclancy avatar Oct 17 '24 23:10 kevinclancy