diff --git a/src/Core/NetPad.Runtime/ExecutionModel/External/Interface/ActionTextWriter.cs b/src/Core/NetPad.Runtime/ExecutionModel/External/Interface/ActionTextWriter.cs index 0fd1e6eb..9a4fa0bc 100644 --- a/src/Core/NetPad.Runtime/ExecutionModel/External/Interface/ActionTextWriter.cs +++ b/src/Core/NetPad.Runtime/ExecutionModel/External/Interface/ActionTextWriter.cs @@ -3,7 +3,7 @@ namespace NetPad.ExecutionModel.External.Interface; -internal class ActionTextWriter(Action write) : TextWriter +internal class ActionTextWriter(Action write) : TextWriter { public override Encoding Encoding => Encoding.Default; @@ -17,6 +17,16 @@ public override void WriteLine(string? value) write(value, true); } + public override void Write(char value) + { + write(value, false); + } + + public override void WriteLine(char value) + { + write(value, true); + } + public override void WriteLine() { write("\n", false);