Skip to content

Exclude search results that are within the prompt #146394

@meganrogge

Description

@meganrogge

Now that we have shell integration, we should be able to provide beginSearchAfterTerm:string to ISearchOptions in xterm.js so that results don't include matches that are within the prompt.

For example, if prompt is prompt, findPrevious would only start searches at col 5 if the translateLineToString at the row being searched starts with prompt.

Metadata

Metadata

Labels

*as-designedDescribed behavior is as designedfeature-requestRequest for new features or functionalityterminal-findRelating the terminal's find widgetterminal-shell-integrationShell integration infrastructure, command decorations, etc.upstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions