godot-xterm/test/mocks/mock_pty_native.gd
Leroy Hopson 3378e6ff8f
Add process_mode property to PTY
Adds process_mode property to PTY which can be set to IDLE or PHYSICS.
Determines whether the PTY will be updated in the `_process()` or
`_physics_process()` step. Defaults to PHYSICS.
2022-08-06 20:14:56 +12:00

9 lines
156 B
GDScript

extends "res://addons/godot_xterm/nodes/pty/pty_native.gd"
func write(data):
emit_signal("data_received", data)
func run_process(_delta: float):
pass