mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
add this.cancel(ev, true) when line is zero on wheel handler
This commit is contained in:
@@ -831,7 +831,7 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
|
||||
self._coreBrowserService?.dpr
|
||||
);
|
||||
if (lines === 0) {
|
||||
return false;
|
||||
return this.cancel(ev, true);
|
||||
}
|
||||
|
||||
// Construct and send sequences
|
||||
|
||||
Reference in New Issue
Block a user