Skip to content

Terminal tab change icon does not work with multi-select #193378

Closed

Description

Repro:

  • Open multiple terminals
  • Select multiple terminal tabs
  • Right click and change icon
  • Change icon 🐛 only a single terminal is changed

registerTerminalAction({
id: TerminalCommandId.ChangeIconActiveTab,
title: terminalStrings.changeIcon,
f1: false,
precondition: ContextKeyExpr.and(ContextKeyExpr.or(TerminalContextKeys.processSupported, TerminalContextKeys.terminalHasBeenCreated), TerminalContextKeys.tabsSingularSelection),
run: (c, accessor) => getSelectedInstances(accessor)?.[0].changeIcon()
});

Real context stored with the action was done recently as part of #79034

Related: #193379

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersterminal-tabsverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions