Skip to content

support terminal link keyboard navigation #139620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 23, 2021
Merged

support terminal link keyboard navigation #139620

merged 4 commits into from
Dec 23, 2021

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Dec 22, 2021

This PR fixes #95570
recording (29)

@meganrogge meganrogge self-assigned this Dec 22, 2021
@meganrogge meganrogge requested a review from Tyriar December 23, 2021 01:39
@meganrogge meganrogge added this to the January 2022 milestone Dec 23, 2021
@meganrogge meganrogge merged commit 21c73fe into main Dec 23, 2021
@meganrogge meganrogge deleted the merogge/links branch December 23, 2021 03:33
@@ -171,8 +185,8 @@ export class TerminalLinkManager extends DisposableStore {
// Prevent default electron link handling so Alt+Click mode works normally
event?.preventDefault();

// Require correct modifier on click
if (event && !this._isLinkActivationModifierDown(event)) {
// Require correct modifier on click unless event is coming from linkQuickPick selection
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should event be undefined for quick pick events?

@@ -197,7 +198,9 @@ export interface ITerminalService extends ITerminalInstanceHost {
toggleDevTools(open?: boolean): Promise<void>;
handleNewRegisteredBackend(backend: ITerminalBackend): void;
}
export class TerminalLinkQuickpickEvent extends MouseEvent {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again maybe we can avoid this by using undefined for quick pick link events?

@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support terminal link keyboard navigation
2 participants