Skip to content

Only treat the '..' entry as the up item - #17

Open
Bortlesboat wants to merge 1 commit into
HeyItsGilbert:mainfrom
Bortlesboat:fix-dotdot-match
Open

Bortlesboat wants to merge 1 commit into
HeyItsGilbert:mainfrom
Bortlesboat:fix-dotdot-match

Conversation

@Bortlesboat

Copy link
Copy Markdown

Get-PreviewPanel matched '..' and the Enter handler matched '..*', so a test named something like "waits for retry..." showed "Please select an item." instead of its result, and Enter on it went up a level instead of in. Both checks now compare against '..' exactly. Added a test in Get-PreviewPanel.tests.ps1.

Get-PreviewPanel matched '*..' and the Enter handler matched '*..*', so
an item named e.g. 'waits for retry...' showed 'Please select an item.'
instead of its result, and pressing Enter on it navigated up a level
instead of into it.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant