mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01: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
|
@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
`libgodot-xterm.osx.64.dylib` is now a universal binary that runs natively
|
`libgodot-xterm.osx.64.dylib` is now a universal binary that runs natively
|
||||||
on both x86_64 and arm64.
|
on both x86_64 and arm64.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- The `kill()` method of unix PTY node can now be called without error as the underlying
|
||||||
|
`pipe.close()` method of the gdnative library is now registered.
|
||||||
|
|
||||||
|
|
||||||
## [v2.0.0](https://github.com/lihop/godot-xterm/compare/v1.2.1...v2.0.0) - 2021-07-25
|
## [v2.0.0](https://github.com/lihop/godot-xterm/compare/v1.2.1...v2.0.0) - 2021-07-25
|
||||||
### Added
|
### Added
|
||||||
- Terminal editor plugin. Adds integrated terminal to Godot editor.
|
- Terminal editor plugin. Adds integrated terminal to Godot editor.
|
||||||
|
|
|
@ -25,6 +25,7 @@ void Pipe::_register_methods() {
|
||||||
register_method("poll", &Pipe::_poll_connection);
|
register_method("poll", &Pipe::_poll_connection);
|
||||||
register_method("open", &Pipe::open);
|
register_method("open", &Pipe::open);
|
||||||
register_method("write", &Pipe::write);
|
register_method("write", &Pipe::write);
|
||||||
|
register_method("close", &Pipe::close);
|
||||||
|
|
||||||
register_signal<Pipe>("data_received", "data",
|
register_signal<Pipe>("data_received", "data",
|
||||||
GODOT_VARIANT_TYPE_POOL_BYTE_ARRAY);
|
GODOT_VARIANT_TYPE_POOL_BYTE_ARRAY);
|
||||||
|
|
Loading…
Reference in a new issue