-
Notifications
You must be signed in to change notification settings - Fork 256
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
Refer from konsole, prohibit to look up the historical information with the middle mouse scrolling #462
base: master
Are you sure you want to change the base?
Conversation
Some notes at the first glance:
|
…th the middle mouse scrolling. There is url can help understanding new code. https://invent.kde.org/utilities/konsole/-/commit/17c77a8729336c69bdeff970e3674d929b915b17 For function TerminalDisplay::wheelEvent, I get idea from the latest konsole code. https://invent.kde.org/utilities/konsole/-/blob/master/src/terminalDisplay/TerminalDisplay.cpp#L1662
Thank for ur suggestion. |
About #260, the PR is one kind of solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update! This pull request is almost ready. Here is a minor issue. Also don't change indentation. They will be handled in #473.
getCharacterPosition( ev->position() , charLine , charColumn ); | ||
int charLine; | ||
int charColumn; | ||
getCharacterPosition( ev->pos() , charLine , charColumn ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pos()
is deprecated. Please change it back to position()
.
Refer from konsole, prohibit to look up the historical information with the middle mouse scrolling