Skip to content

Conversation

daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Sep 11, 2019

Make PageUp/PageDown and CtrlPageUp/CtrlPageDown windows only because

  1. On Linux and macOS, Console.SetWindowPosition throw PlatformNotSupportedException.
  2. On macOS, PageUp and PageDown get intercepted by the terminal and perform the same behavior as moving one page up or down.
    Ctrl+PageUp and Ctrl+PageDown are also intercepted by the terminal and do the same as PageUp and PageDown

Fix #1016

@daxian-dbw daxian-dbw requested a review from lzybkr September 11, 2019 00:28
@daxian-dbw
Copy link
Member Author

@msftrncs can you please review? Thanks!

Copy link
Contributor

@rjmholt rjmholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on your description of the initial problem. Left a comment about comments

@daxian-dbw
Copy link
Member Author

Thanks for the review @rjmholt!

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.

PageDown while pwsh is processing command => System.PlatformNotSupportedException
2 participants