Skip to content

ctrl + l twice makes an error #723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ingenika opened this issue Jul 9, 2018 · 2 comments
Closed

ctrl + l twice makes an error #723

ingenika opened this issue Jul 9, 2018 · 2 comments

Comments

@ingenika
Copy link

ingenika commented Jul 9, 2018

Environment data

Steps to reproduce or exception report

Ctrl+l s u d o Space a [ t = Backspace Backspace Backspace p t - g e t Space u p d a t e Enter
UpArrow Backspace Backspace Backspace Backspace g r a d e Enter
Ctrl+l UpArrow UpArrow UpArrow UpArrow Enter
c d Space ~ Enter
c d Space ~ Enter
c d Space ` Backspace ~ Backspace Backspace Backspace Backspace Backspace c d Space . Enter
c d Space . . Enter
c d Space . . Enter
c d Space . . Enter
l s Enter
c d Space ~ Enter
l s Enter
Ctrl+l UpArrow UpArrow UpArrow UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace s u d o Space a p t - g e t Space u p d a t e Enter
UpArrow Backspace Backspace Backspace Backspace g r a d e Enter
Ctrl+l d o c k e r Enter
Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l Ctrl+l

Exception:
System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.ConsolePal.SetWindowPosition(Int32 left, Int32 top)
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)

--
Ubuntu 18.04

@davividal
Copy link

I got the same error on Mac:

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 8 Keys:
```
 p w d Enter
 Ctrl+l Ctrl+l Ctrl+l Ctrl+l
```

Exception:
```
System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.ConsolePal.SetWindowPosition(Int32 left, Int32 top)
   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, CancellationToken cancellationToken)
```
-----------------------------------------------------------------------

@lzybkr
Copy link
Contributor

lzybkr commented Oct 19, 2018

Closing as a duplicate of #654.

@lzybkr lzybkr closed this as completed Oct 19, 2018
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

No branches or pull requests

3 participants