mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #870 from Tyriar/869_shift_force_selection
Revert "Disable selection override on Windows/Linux"
This commit is contained in:
@@ -327,7 +327,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
|
||||
|
||||
// Allow selection when using a specific modifier key, even when disabled
|
||||
if (!this._enabled) {
|
||||
const shouldForceSelection = Browser.isMac && event.altKey;
|
||||
const shouldForceSelection = Browser.isMac ? event.altKey : event.shiftKey;
|
||||
|
||||
if (!shouldForceSelection) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user