Skip to content

Commit b6f3596

Browse files
committed
Corrected build issues. Removed ConsoleProxy. Reverted changes to EditorServicesLoader
1 parent 4b545ca commit b6f3596

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/PowerShellEditorServices.Hosting/EditorServicesLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static EditorServicesLoader Create(
107107
// We only want the Editor Services DLL; the new ALC will lazily load its dependencies automatically
108108
if (!string.Equals(asmName.Name, "Microsoft.PowerShell.EditorServices", StringComparison.Ordinal))
109109
{
110-
//return null;
110+
return null;
111111
}
112112

113113
string asmPath = Path.Combine(s_psesDependencyDirPath, $"{asmName.Name}.dll");

src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostUserInterface.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ public EditorServicesConsolePSHostUserInterface(
2828
{
2929
_underlyingHostUI = underlyingHostUI;
3030
RawUI = new EditorServicesConsolePSHostRawUserInterface(loggerFactory, underlyingHostUI.RawUI, consoleOperations);
31-
32-
_consoleHostUI = GetConsoleHostUI(_underlyingHostUI);
33-
34-
if (_consoleHostUI != null)
35-
{
36-
SetConsoleHostUIToInteractive(_consoleHostUI);
37-
}
3831
}
3932

4033
public override bool SupportsVirtualTerminal => _underlyingHostUI.SupportsVirtualTerminal;

test/PowerShellEditorServices.Test/PsesHostFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public static PsesInternalHost Create(ILoggerFactory loggerFactory)
5757
logLevel: (int)LogLevel.None,
5858
consoleReplEnabled: false,
5959
usesLegacyReadLine: false,
60+
useHostReadKey: false,
6061
bundledModulePath: BundledModulePath);
6162

6263
PsesInternalHost psesHost = new(loggerFactory, null, testHostDetails);

0 commit comments

Comments
 (0)