Thanks to visit codestin.com
Credit goes to github.com

Skip to content

text editor input problem #1975

@WyatWang

Description

@WyatWang

I have a problem in nk_edit_buffer.
When I enter "backspace", two letters was deleted and two lines append when enter "Enter".
This problem don't appear in debug by step. I think may be not remove key press event in time.
In nuklear_glfw_gl2.h, I think we should set event as GLFW_RELEASE when it be GLFW_PRESS in glfwGetKey function
Now, I modify it, it worked, But I don't know if this revision is correct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions