mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-21 17:20:25 +01:00
Remove deprecated get_master() method of PTY
This commit is contained in:
parent
b2f190d29a
commit
8d656d8c71
4 changed files with 1 additions and 17 deletions
|
@ -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 := ""
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue