Skip to content

System.PlatformNotSupportedException while running under tmux in iTerm2 on MacOS #654

Closed
@bgshacklett

Description

@bgshacklett

Environment data

PS version: 6.0.2
PSReadline version: 2.0.0-beta1
os: Darwin BrianShlettsMBP.attlocal.net 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
PS file version:
PS /Users/brianshacklett/.vim>

Steps to reproduce or exception report

PS /Users/brianshacklett/.vim>
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 77 Keys:
 t m u x Space - - v e r s i o n Enter
 UpArrow Ctrl+c UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace V Enter
 Ctrl+c Ctrl+b % Backspace Ctrl+b % Backspace Ctrl+b 5 Backspace Ctrl+b Backspace Backspace j Backspace g i t Space s t a t u s Enter
 v i m Space . g i t m o d u l e s Enter
 Enter
 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)
-----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions