feat: add get_cursor_pos()

This commit is contained in:
Leroy Hopson 2024-02-04 23:11:14 +13:00
parent b575895aa7
commit 2392dd7c0d
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
4 changed files with 28 additions and 0 deletions

View file

@ -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,