Remove deprecated get_master() method of PTY

This commit is contained in:
Leroy Hopson 2022-08-26 12:35:13 +12:00
parent b2f190d29a
commit 8d656d8c71
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
4 changed files with 1 additions and 17 deletions

View file

@ -13,10 +13,6 @@ func resize(cols: int, rows: int):
return _not_implemented()
func get_master():
return _not_implemented()
func _not_implemented() -> int:
var method := ""

View file

@ -166,12 +166,6 @@ func open(cols: int = DEFAULT_COLS, rows: int = DEFAULT_ROWS) -> Array:
return PTYUnix.new().open(cols, rows)
func get_master():
if _pipe:
return _pipe
return null
func _exit_tree():
_exit_cb = null
if _pid > 1:

View file

@ -172,13 +172,6 @@ func open(cols: int = DEFAULT_COLS, rows: int = DEFAULT_ROWS) -> Array:
return _pty_native.open(cols, rows)
func get_master():
push_warning(
"The method get_master() is deprecated and will be removed in a future version. If you really need to get the underlying Pipe of the pty, then you can access '_pty_native._pipe', but this is not supported and may change at any time."
)
return _pty_native.get_master()
func _on_pty_native_data_received(data):
emit_signal("data_received", data)

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://github.com/lihop/godot-xterm/compare/v2.2.0...HEAD)
### Removed
- Removed support for deprecated theme item names.
- Removed deprecated get_master() method of PTY.
## [v2.2.0](https://github.com/lihop/godot-xterm/compare/v2.1.1...v2.2.0) - 2022-08-26