-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete
ConsoleProxy.cs
and further simplify ReadKey
logic
- Loading branch information
1 parent
9fa13a2
commit e3278a8
Showing
6 changed files
with
32 additions
and
256 deletions.
There are no files selected for viewing
47 changes: 0 additions & 47 deletions
47
src/PowerShellEditorServices/Services/PowerShell/Console/ConsoleProxy.cs
This file was deleted.
Oops, something went wrong.
4 changes: 1 addition & 3 deletions
4
src/PowerShellEditorServices/Services/PowerShell/Console/IReadLine.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System.Security; | ||
using System.Threading; | ||
|
||
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Console | ||
{ | ||
// TODO: Do we really need a whole interface for this? | ||
internal interface IReadLine | ||
{ | ||
string ReadLine(CancellationToken cancellationToken); | ||
|
||
SecureString ReadSecureLine(CancellationToken cancellationToken); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters