mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
debounce only move events
This commit is contained in:
@@ -282,8 +282,8 @@ export class CoreMouseService implements ICoreMouseService {
|
||||
event.col++;
|
||||
event.row++;
|
||||
|
||||
// debounce at grid level
|
||||
if (this._lastEvent && this._compareEvents(this._lastEvent, event)) {
|
||||
// debounce move at grid level
|
||||
if (event.action === 'move' && this._lastEvent && this._compareEvents(this._lastEvent, event)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user