vte_terminal_get_cursor_position() not available in Python
Submitted by Jon Willeke
Link to original bug (#118800)
Description
The vte_terminal_get_cursor_position() function is not exposed to the Python binding:
vte.Terminal().get_cursor_position() Traceback (most recent call last): File "
<stdin>
", line 1, in ? AttributeError: 'Terminal' object has no attribute 'get_cursor_position'
I'm attaching a patch against 0.10.29 that adds support for vte.Terminal.get_cursor_position(), which takes no arguments and returns a column-row tuple. I'm not experienced with the Python/C binding, so caveat maintainor.
Version: 0.10.x
Resolution: RESOLVED FIXED