I just encountered the inconsistency of the "force selection" modifier across Windows/Linux and macOS and personally found that a bit jarring:
|
public shouldForceSelection(event: MouseEvent): boolean { |
|
if (Browser.isMac) { |
|
return event.altKey && this._optionsService.rawOptions.macOptionClickForcesSelection; |
|
} |
|
|
|
return event.shiftKey; |
|
} |
I use VS Code on both Windows and macOS, and it would be nice if the modifier was the same across platforms. I couldn't find any technical reason this was done, so I'm guessing it was conventional. iTerm uses alt for this, and since iTerm has a majority "market share" on macOS terminals (at least in my experience working on macOS over the past few years), I'm assuming the modifier choice came from there.
Other cross-platform terminals seem to have settled on using shift as the modifier across the board, though:
I know that implementing #1536 would fix this, but that seems like a reasonably large endeavor. Is this something that could be resolved with a smaller change?
I just encountered the inconsistency of the "force selection" modifier across Windows/Linux and macOS and personally found that a bit jarring:
xterm.js/src/browser/services/SelectionService.ts
Lines 429 to 435 in 0981ca8
I use VS Code on both Windows and macOS, and it would be nice if the modifier was the same across platforms. I couldn't find any technical reason this was done, so I'm guessing it was conventional. iTerm uses alt for this, and since iTerm has a majority "market share" on macOS terminals (at least in my experience working on macOS over the past few years), I'm assuming the modifier choice came from there.
Other cross-platform terminals seem to have settled on using shift as the modifier across the board, though:
I know that implementing #1536 would fix this, but that seems like a reasonably large endeavor. Is this something that could be resolved with a smaller change?