mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-08 13:15:31 +02:00
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.
This commit is contained in:
parent
2acb93f8ff
commit
3378e6ff8f
7 changed files with 55 additions and 28 deletions
9
test/mocks/mock_pty_native.gd
Normal file
9
test/mocks/mock_pty_native.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends "res://addons/godot_xterm/nodes/pty/pty_native.gd"
|
||||
|
||||
|
||||
func write(data):
|
||||
emit_signal("data_received", data)
|
||||
|
||||
|
||||
func run_process(_delta: float):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue