diff options
| author | Michael <[email protected]> | 2017-04-02 14:26:25 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-02 14:26:25 -0400 |
| commit | f89cd092830a8e88bd9aaf8048c18b0dda7dea25 (patch) | |
| tree | b8e3560bf62ffd65ddb0eec0dd54dece62c2a087 /ShiftOS_TheReturn/TerminalTextWriter.cs | |
| parent | 83dd55d028ed0d82cd7af7dd9ae2959f1ae2aae5 (diff) | |
| download | shiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.tar.gz shiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.tar.bz2 shiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.zip | |
Various bugfixes.
Diffstat (limited to 'ShiftOS_TheReturn/TerminalTextWriter.cs')
| -rw-r--r-- | ShiftOS_TheReturn/TerminalTextWriter.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ShiftOS_TheReturn/TerminalTextWriter.cs b/ShiftOS_TheReturn/TerminalTextWriter.cs index bc242a9..55e27cf 100644 --- a/ShiftOS_TheReturn/TerminalTextWriter.cs +++ b/ShiftOS_TheReturn/TerminalTextWriter.cs @@ -58,7 +58,7 @@ namespace ShiftOS.Engine { Desktop.InvokeOnWorkerThread(new Action(() => { - UnderlyingControl.SelectBottom(); + UnderlyingControl?.SelectBottom(); })); } @@ -76,7 +76,7 @@ namespace ShiftOS.Engine { Desktop.InvokeOnWorkerThread(new Action(() => { - UnderlyingControl.Write(value.ToString()); + UnderlyingControl?.Write(value.ToString()); select(); })); } @@ -96,7 +96,7 @@ namespace ShiftOS.Engine Desktop.InvokeOnWorkerThread(new Action(() => { - UnderlyingControl.WriteLine(value); + UnderlyingControl?.WriteLine(value); select(); })); } @@ -120,7 +120,7 @@ namespace ShiftOS.Engine Desktop.InvokeOnWorkerThread(new Action(() => { - UnderlyingControl.Write(value.ToString()); + UnderlyingControl?.Write(value.ToString()); select(); })); } |
