question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on PageUp/PageDown keys

See original GitHub issue

Environment data

PS version: 6.1.0-preview.2
PSReadline version: 2.0.0-beta1
os: Linux localhost.localdomain 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
PS file version: 

This is Fedora 28, using the terminal Konsole.

Steps to reproduce or exception report

Just hit PageUp or PageDown

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 1 Keys:
 PageUp

Exception:
System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.ConsolePal.SetWindowPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ScrollDisplayUp(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lzybkrcommented, Jul 5, 2019

Or more succinctly:

Remove-PSReadLineKeyHandler -Chord PageUp
Remove-PSReadLineKeyHandler -Chord PageDown
1reaction
vosscodescommented, Jun 21, 2019

I’m also seeing this on 7.0.0 preview 1 with PSReadLine 2.0.0-beta4

Read more comments on GitHub >

github_iconTop Results From Across the Web

My pagedown and pageup keys don't work. Sometimes ...
I have a laptop running Windows 10 now. My page up and page down keys don't work sometimes and at other times in...
Read more >
10507: Function Keys or Page Keys Do Not Work
Pressing FN may be necessary to enable the Page Up and Page Down functions. If you are unable to get your function or...
Read more >
Consistently being able to use page down/page up keys ...
As described, you want to use page down/page up keys in commenting mode so that you can move to the next page when...
Read more >
Solved: Page Up , Page Down, Home, End Key Not working
Home, End, Page Up, Page Down keys are present with Number pad. There are no dedicated keys for them. Key 9 is for...
Read more >
front to back keys(page up/page down) not working
front to back keys(page up/page down) not working ... a user on my computer and now my original user can not open CorelDraw...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found