#82

EditMultiline doesn't work in GLFW_GL3.

OpenAllenDangopened 7y ago

OS: MacOS 10.14.6 GO: 1.13 Backend: GLFW3.2/GL3 Nuklear: 4.01.0

Minimal code sample is

name := nk.NewTextEdit()
nk.NkTexteditInitDefault(name)

nk.NkEditBuffer(ctx, nk.EditEditor, name, nk.NkFilterDefault)

I cannot enter any character in edit if the flag is nk.EditEditor.

If change the flag to nk.EditBox, infinite "Enter" key is triggered once the edit box is focused.

Activity

2
xlab7y ago

Hm, did that happen before? With previous version.

AllenDang7y ago

@xlab Yes, previous version also has problem with the NkEditBuffer, but that is different, I cannot enter anything into the editor control with any kind of flag.

var text nk.TextEdit
nk.NkTexteditInitDefault(&text)
// Here I tried EditField, EditBox, non of them work
nk.NkEditBuffer(ctx, nk.EditEditor, &text, nk.NkFilterDefault)