Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter get_text_range call based on VTE version #777

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

mattrose
Copy link
Member

In vte 0.72 there was a regression that caused Vte.Terminal.get_text_range() to fail to return the text requested However, in the same version, there was a new call introduced that does retrieve the text, so if I detect a vte minor version above 72, I call that instead.

Fixes #776

In vte 0.72 there was a regression that caused
Vte.Terminal.get_text_range() to fail to return the text requested
However, in the same version, there was a new call introduced that
does retrieve the text, so if I detect a vte minor version above
72, I call that instead.
@mattrose
Copy link
Member Author

Works on older vte too. Merging

@mattrose mattrose merged commit b7e91b1 into gnome-terminator:master Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logger plugin crashes with "TypeError: 'NoneType' object is not subscriptable"
1 participant