Skip to content

Search box doesn't pick up the newly selected text from the buffer #16355

@tusharsnx

Description

@tusharsnx

Windows Terminal version

1.19.3172.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

  1. Select a piece of text in the terminal
  2. Trigger Search Action.
  3. The search criteria (needle) is now the selected text.
  4. Close SearchBox
  5. Select a different piece of text.
  6. Trigger Search Action.
  7. The search criteria is still the old one.

Expected Behavior

At step 7, needle should be the newly selected text, instead of the old one.

Actual Behavior

At step 7, needle is still the previously selected text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIn-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-2A description (P2)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions