aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/ConsoleEx.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-28 07:21:16 -0400
committerMichael <[email protected]>2017-05-28 07:21:16 -0400
commit8e3bdf71e71096711f11a0d51b2b384e117391ee (patch)
tree4df860d8c7f48837a101491ce0d756a66720ff2a /ShiftOS_TheReturn/ConsoleEx.cs
parentdc0b8c66885593f7412e24bf7132bc08f6c40a9c (diff)
downloadshiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.tar.gz
shiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.tar.bz2
shiftos_thereturn-8e3bdf71e71096711f11a0d51b2b384e117391ee.zip
strip things down but make things better
Diffstat (limited to 'ShiftOS_TheReturn/ConsoleEx.cs')
-rw-r--r--ShiftOS_TheReturn/ConsoleEx.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/ConsoleEx.cs b/ShiftOS_TheReturn/ConsoleEx.cs
index 90f9cc0..74483dc 100644
--- a/ShiftOS_TheReturn/ConsoleEx.cs
+++ b/ShiftOS_TheReturn/ConsoleEx.cs
@@ -48,5 +48,12 @@ namespace ShiftOS.Engine
/// Gets or sets whether text in the Terminal is underlined.
/// </summary>
public static bool Underline { get; set; }
+
+ internal static void Flush()
+ {
+ OnFlush?.Invoke();
+ }
+
+ public static Action OnFlush;
}
}