Skip to content

Commit 5dfa09b

Browse files
committed
Add SupportsVirtualTerminal property to ConsolePSHostUserInterface
Fixes #382.
1 parent ea66b59 commit 5dfa09b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/PowerShellEditorServices/Session/SessionPSHostUserInterface.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ internal IConsoleHost ConsoleHost
4141
}
4242
}
4343

44+
#if !PowerShellv3 && !PowerShellv4 && !PowerShellv5r1 // Only available in Windows 10 Update 1 or higher
45+
public override bool SupportsVirtualTerminal => true;
46+
#endif
47+
4448
#endregion
4549

4650
#region Constructors

0 commit comments

Comments
 (0)