mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 20:14:22 +02:00
Register pipe.close() method
Allows kill() method of unix PTY node to be called without error.
This commit is contained in:
parent
28521b9d7a
commit
1d51acb38d
2 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,7 @@ void Pipe::_register_methods() {
|
|||
register_method("poll", &Pipe::_poll_connection);
|
||||
register_method("open", &Pipe::open);
|
||||
register_method("write", &Pipe::write);
|
||||
register_method("close", &Pipe::close);
|
||||
|
||||
register_signal<Pipe>("data_received", "data",
|
||||
GODOT_VARIANT_TYPE_POOL_BYTE_ARRAY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue