raylib-ocaml
raylib-ocaml copied to clipboard
Raygui.text_box appends unwanted '0' bytes to result
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.