Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't input text using glfw backend #111

Open
Findus79 opened this issue Jan 11, 2020 · 2 comments
Open

Can't input text using glfw backend #111

Findus79 opened this issue Jan 11, 2020 · 2 comments

Comments

@Findus79
Copy link

Hi,

I started using your great widget. I am using a glfw backend, and ImGui itself works fine for text input. I followed your sample, but when I enter text, the character gets printed on the screen and immediately removed again.

Any ideas?
Thanks

@SocketByte
Copy link

SocketByte commented May 27, 2020

Same problem here, not really sure why is that. Did you manage to fix it somehow?

// Edit
Oh, nevermind. I'm actually stupid. I was allocating the editor in the loop, so I was creating a new editor each frame. Probably OP had the same issue.

@VeithBuergerhoff
Copy link

Try having a look at this comment if you are having problems setting up ImGuiColorTextEdit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants