From 90b1bdca5f8f2bf634a0b83ed9b623843ada5661 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Thu, 23 Nov 2017 18:28:51 +0000 Subject: [PATCH] Clear fixed! --- ShiftOS.Main/ShiftOS/Apps/Terminal.cs | 3 ++- shiftos.main/shiftos/apps/terminal.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ShiftOS.Main/ShiftOS/Apps/Terminal.cs b/ShiftOS.Main/ShiftOS/Apps/Terminal.cs index bd53ab7..f7307cb 100644 --- a/ShiftOS.Main/ShiftOS/Apps/Terminal.cs +++ b/ShiftOS.Main/ShiftOS/Apps/Terminal.cs @@ -116,7 +116,8 @@ namespace ShiftOS.Main.ShiftOS.Apps public void Clear() { DoClear = true; - termmain.Text = $"\n {defaulttextResult}"; + OldText = ""; + termmain.Text = ""; TrackingPosition = termmain.Text.Length; DoClear = false; } diff --git a/shiftos.main/shiftos/apps/terminal.cs b/shiftos.main/shiftos/apps/terminal.cs index bd53ab7..f7307cb 100644 --- a/shiftos.main/shiftos/apps/terminal.cs +++ b/shiftos.main/shiftos/apps/terminal.cs @@ -116,7 +116,8 @@ namespace ShiftOS.Main.ShiftOS.Apps public void Clear() { DoClear = true; - termmain.Text = $"\n {defaulttextResult}"; + OldText = ""; + termmain.Text = ""; TrackingPosition = termmain.Text.Length; DoClear = false; }