Skip to content
  • Edwin Pujols's avatar
    TerminalDisplay: Limit mouse move events. · 6667d96e
    Edwin Pujols authored and Tomaz  Canabrava's avatar Tomaz Canabrava committed
    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.
    6667d96e