mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
@ -1336,7 +1336,7 @@ fn mouseReport(
|
|||||||
|
|
||||||
// Record our new point. We only want to send a mouse event if the
|
// Record our new point. We only want to send a mouse event if the
|
||||||
// cell changed, unless we're tracking raw pixels.
|
// cell changed, unless we're tracking raw pixels.
|
||||||
if (self.io.terminal.flags.mouse_format != .sgr_pixels) {
|
if (action == .motion and self.io.terminal.flags.mouse_format != .sgr_pixels) {
|
||||||
if (self.mouse.event_point) |last_point| {
|
if (self.mouse.event_point) |last_point| {
|
||||||
if (last_point.eql(viewport_point)) return;
|
if (last_point.eql(viewport_point)) return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user