diff --git a/src/PowerShellEditorServices/Session/Host/SimplePSHostRawUserInterface.cs b/src/PowerShellEditorServices/Session/Host/SimplePSHostRawUserInterface.cs index f12b03919..89895a776 100644 --- a/src/PowerShellEditorServices/Session/Host/SimplePSHostRawUserInterface.cs +++ b/src/PowerShellEditorServices/Session/Host/SimplePSHostRawUserInterface.cs @@ -176,11 +176,7 @@ public override void FlushInputBuffer() /// A BufferCell array with the requested buffer contents. public override BufferCell[,] GetBufferContents(Rectangle rectangle) { - Logger.Write( - LogLevel.Warning, - "PSHostRawUserInterface.GetBufferContents was called"); - - throw new System.NotImplementedException(); + return new BufferCell[0,0]; } /// diff --git a/src/PowerShellEditorServices/Session/Host/TerminalPSHostRawUserInterface.cs b/src/PowerShellEditorServices/Session/Host/TerminalPSHostRawUserInterface.cs index 29daec059..b0f1fe486 100644 --- a/src/PowerShellEditorServices/Session/Host/TerminalPSHostRawUserInterface.cs +++ b/src/PowerShellEditorServices/Session/Host/TerminalPSHostRawUserInterface.cs @@ -208,11 +208,7 @@ public override void FlushInputBuffer() /// A BufferCell array with the requested buffer contents. public override BufferCell[,] GetBufferContents(Rectangle rectangle) { - Logger.Write( - LogLevel.Warning, - "PSHostRawUserInterface.GetBufferContents was called"); - - throw new System.NotImplementedException(); + return new BufferCell[0,0]; } ///