The terminal display mouse tracking is based on character boxes, i.e., unless the mouse moves out of a character box its position hasn't really changed. So most of the logic in `TerminalDisplay::mouseMoveEvent` can be skipped/omitted till the pointer crosses box boundaries. Before my changes applications like Vim/Neovim couldn't do selection via dragging with the left mouse button (there might be a bug there). I cursorily checked other features like the color filter and URL underlining, and they work.wilder
parent
8de0e6c78e
commit
6667d96ed9
2 changed files with 15 additions and 1 deletions
Loading…
Reference in new issue