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

Expose wordCharacters property to QTermWidget API #531

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

ahigerd
Copy link
Contributor

@ahigerd ahigerd commented Feb 16, 2024

A feature that QTerminal is missing, which is present in gnome-terminal, is the ability to configure which characters are considered "word" characters for the purposes of double-click selection. (Feature request)

QTermWidget has internal support for configuring those characters, inherited from Konsole, but its public API provides no way to do so. This PR adds wordCharacters() const and setWordCharacters() to QTermWidget in order to support this feature.

@yan12125 yan12125 merged commit 8be34ff into lxqt:master Feb 17, 2024
1 check passed
@yan12125 yan12125 mentioned this pull request Mar 8, 2024
inventor2525 pushed a commit to inventor2525/qtermwidget that referenced this pull request May 14, 2024
* expose setWordCharacters API

* add wordCharacters to documentation

---------

Co-authored-by: Adam Higerd <[email protected]>
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.

2 participants