mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-06 20:55:31 +02:00
feat: add get_cursor_pos()
This commit is contained in:
parent
b575895aa7
commit
2392dd7c0d
4 changed files with 28 additions and 0 deletions
|
@ -71,6 +71,10 @@ func get_rows() -> int:
|
|||
return _rows
|
||||
|
||||
|
||||
func get_cursor_pos() -> Vector2:
|
||||
return _native_terminal.get_cursor_pos()
|
||||
|
||||
|
||||
func write(data) -> void:
|
||||
assert(
|
||||
data is PoolByteArray or data is String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue