Golang中的TextBox(核)

There is some problem with the textbox: it does not allow to write text into it, it simply drops the string indicator on the first character in the string (more clearly in the picture)

Create global buffer

var boxBuffer []byte = []byte(``)
nk.NkEditString(ctx, nk.EditMultiline|nk.EditBox, boxBuffer, &lenght, 512, nk.NkFilterDefault)