mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 20:14:22 +02:00
Make compatible with Godot v3.2
But still only officially support v3.3+
This commit is contained in:
parent
16d231fc63
commit
7c3d5f76f3
2 changed files with 5 additions and 2 deletions
|
@ -70,7 +70,7 @@ func fork(
|
|||
# Exit callback.
|
||||
_exit_cb = FuncRef.new()
|
||||
_exit_cb.set_instance(self)
|
||||
_exit_cb.function = "_on_exit"
|
||||
_exit_cb.set_function("_on_exit")
|
||||
|
||||
# Actual fork.
|
||||
var result = PTYUnix.new().fork( # VERY IMPORTANT: The must be set null or 0, otherwise will get an ENOTSOCK error after connecting our pipe to the fd.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue