I have a TextEdit node, and inside of it I've declared the _gui_input
function. Upon typing anything in the text box, the keystroke is put through the function twice. For example:
func _gui_input(event):
if event is InputEventKey:
print(event.as_text())
will print out "s," and then "s" again, even if I've only hit the S key once. is_echo
returns false on the original and duplicate event.
Is this intended behavior? I would imagine the input is only supposed to be registered once, which is what I want.