Open niklasbuesing opened 5 years ago
@breadbyte very thanks.
I noticed when using inputTextEx and using
private static byte[] msg = new byte[256];
so for instance you make a
ArrayList<String> items = new ArrayList<String>();
you trim the msg by
String _data = new String(msg).trim();
then add it to item
items.add(_data);
then clear the msg by
msg = new byte[256];
there are 1/10 chances that you will get ??? next to the text you just say. am i doing it wrong?
I tried the string version too .. Using inputText that uses String as buffer is not helpful .. so if you create a string that has value "hello" then use that as buffer ... you can only type 5 letters or the total of letters.
also if you clear the msg buffer while u still typing so your focus is still on the input box.. the text is not gone... unless u click somewhere else. it will be nice if they act as a normal text input where they respect what is the current value regardless of focus
Hey,
what's the status on this one?
Hi!
I'm trying to use imgui in a Minecraft mod i'm making, so i started with the example in the wiki:
Upon showing the screen however, the jvm crashes:
hs_err_pid2940.log
I'm not sure why this happens, i'm using exactly the same code as in the wiki.
Any help would be appreciated!