godot-xterm/examples/terminal/Node.gd

8 lines
135 B
GDScript3
Raw Normal View History

extends Node
func _on_Terminal_key_pressed(event: InputEventKey, data: PoolByteArray):
print(data as Array)
print(event.scancode)