Skip to content

Conversation

@meganrogge
Copy link
Contributor

fix #189234

@meganrogge meganrogge self-assigned this Aug 25, 2023
@meganrogge meganrogge added this to the August 2023 milestone Aug 25, 2023
@meganrogge meganrogge enabled auto-merge August 25, 2023 16:40
return format(msg, kb[0].getAriaLabel());
if (commandId === TerminalCommandId.RunRecentCommand) {
const kb = this._keybindingService.lookupKeybindings(commandId);
// Run recent command has multiple keybindings. lookupKeybinding just returns the first one regardless of the when context.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note this has been investigated in a separate issue assigned to someone else

Copy link
Member

Choose a reason for hiding this comment

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

I think you're after softDispatch which is what commands to skip shell uses

Copy link
Contributor Author

@meganrogge meganrogge Aug 25, 2023

Choose a reason for hiding this comment

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

@Tyriar so I'd have to create an event just to get the right key binding? that seems odd and circuitous to me.

Copy link
Member

Choose a reason for hiding this comment

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

In order to evaluate what keybinding would occur with a given context you need to soft dispatch it afaik.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there's no event in this case, so i'm not following

@meganrogge meganrogge changed the title get all keybindings to be correct in terminal help dialog get all keybindings to be correct in terminal help dialog, rm extra newline Aug 25, 2023
@meganrogge meganrogge merged commit befddfa into main Aug 26, 2023
@meganrogge meganrogge deleted the merogge/kb branch August 26, 2023 13:43
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
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.

[Accessibility] Terminal help menu does not reflect the recent keybindings update for next/previous commands

3 participants