microsoft / microsoft/terminal

`findMatch` should change next/prev direction according to if you pressed Enter (or shift+enter) in search box

Open
#14,154 3 comments 1 reaction 0 assignees View on GitHub
Area-UserInterface Issue-Feature Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement

`findMatch` has a direction associated with it. It should operate like this:
- if in search dialog you press Enter --> "findNext" should search in that direction (bottom-up), shift+f3 should search backwards
- if you press shift+enter --> "findNext" should go in that direction (top-down), shift+f3 should search backwards

NOTE:
- F3 --> "findMatch" dir:next
- Shift+f3 --> "findMatch" dir:prev

Contributor guide

Open the contributing guide

Research direction

Start by tracing the search dialog's findMatch entry point and the existing F3 and Shift+F3 handling described in the issue. Verify how Enter and Shift+Enter select findNext direction, then confirm that F3 and Shift+F3 retain their documented next and previous behavior in the search dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.