GNOME Bugzilla – Bug 118800
vte_terminal_get_cursor_position() not available in Python
Last modified: 2004-12-22 21:47:04 UTC
The vte_terminal_get_cursor_position() function is not exposed to the Python binding: >>> vte.Terminal().get_cursor_position() Traceback (most recent call last):
+ Trace 39206
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.
Created attachment 18795 [details] [review] Add vte.Terminal.get_cursor_position (Python binding)
Applying to HEAD. Thanks!