diff --git a/src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostRawUserInterface.cs b/src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostRawUserInterface.cs
index de69ff6c3..acf866942 100644
--- a/src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostRawUserInterface.cs
+++ b/src/PowerShellEditorServices/Services/PowerShell/Host/EditorServicesConsolePSHostRawUserInterface.cs
@@ -263,6 +263,53 @@ public override void SetBufferContents(
_internalRawUI.SetBufferContents(origin, contents);
}
+ ///
+ /// Determines the number of BufferCells a character occupies.
+ ///
+ ///
+ /// The character whose length we want to know.
+ ///
+ ///
+ /// The length in buffer cells according to the original host
+ /// implementation for the process.
+ ///
+ public override int LengthInBufferCells(char source)
+ {
+ return _internalRawUI.LengthInBufferCells(source);
+ }
+ ///
+ /// Determines the number of BufferCells a string occupies.
+ ///
+ ///
+ /// The string whose length we want to know.
+ ///
+ ///
+ /// The length in buffer cells according to the original host
+ /// implementation for the process.
+ ///
+ public override int LengthInBufferCells(string source)
+ {
+ return _internalRawUI.LengthInBufferCells(source);
+ }
+
+ ///
+ /// Determines the number of BufferCells a substring of a string occupies.
+ ///
+ ///
+ /// The string whose substring length we want to know.
+ ///
+ ///
+ /// Offset where the substring begins in
+ ///
+ ///
+ /// The length in buffer cells according to the original host
+ /// implementation for the process.
+ ///
+ public override int LengthInBufferCells(string source, int offset)
+ {
+ return _internalRawUI.LengthInBufferCells(source, offset);
+ }
+
#endregion
///