Skip to content

Add cycling through search results with tab#2139

Open
AntekOlszewski wants to merge 1 commit into
spectreconsole:mainfrom
AntekOlszewski:cycle-through-search-results
Open

Add cycling through search results with tab#2139
AntekOlszewski wants to merge 1 commit into
spectreconsole:mainfrom
AntekOlszewski:cycle-through-search-results

Conversation

@AntekOlszewski

Copy link
Copy Markdown
Contributor

Fixes #1895

  • I have read the Contribution Guidelines
  • I have checked that there isn't already another pull request that solves the above issue
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors

Changes

This change was previously proposed in #1894 but became outdated.
This PR reintroduces simplified fix on top of the current codebase.
Also I noticed that the ConsoleKeyExtensions converts ConsoleKey to char directly. This makes ConsoleKey.End produce KeyChar == '#', even though a real Console.ReadKey() returns KeyChar == '\0' for End. I updated the helper to use '\0' for navigation keys.


Please upvote 👍 this pull request if you are interested in it.

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.

Cycle through search results in selection prompt

1 participant