Skip to content

[CmdPal > Calculator] Add an option to close on enter, like the PowerToys Run calculator #40262

Open
@RobbyCBennett

Description

@RobbyCBennett

Description of the new feature / enhancement

The option should be a boolean, where one option is the current behavior and another is to instantly close the Command Palette.

Scenario when this would be used?

Switching between the calculator and another app

Supporting information

The calculator in PowerToys Run is perfect. With these three steps, the result is in the clipboard, the UI has closed, and focus has returned to the other app.

  1. =
  2. Expression
  3. Enter

In contrast, here's what I have to do for the Command Palette calculator.

  1. =
  2. Expression
  3. Enter
  4. Escape
  5. Escape
  6. Escape

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions