Skip to content

Alter get_text_range call based on VTE version#777

Merged
mattrose merged 1 commit intognome-terminator:masterfrom
mattrose:776-fix-logger
Jun 20, 2023
Merged

Alter get_text_range call based on VTE version#777
mattrose merged 1 commit intognome-terminator:masterfrom
mattrose:776-fix-logger

Conversation

@mattrose
Copy link
Copy Markdown
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
Copy Markdown
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