From 1febbbd405e6f67401313defb76cc5a41b44c912 Mon Sep 17 00:00:00 2001 From: FloppyDiskDrive Date: Wed, 22 Nov 2017 20:07:19 -0600 Subject: [PATCH] i think git is drunk --- shiftos.main/shiftos/apps/terminal.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shiftos.main/shiftos/apps/terminal.cs b/shiftos.main/shiftos/apps/terminal.cs index cf20bd9..c4bfe83 100644 --- a/shiftos.main/shiftos/apps/terminal.cs +++ b/shiftos.main/shiftos/apps/terminal.cs @@ -16,7 +16,7 @@ namespace ShiftOS.Main.ShiftOS.Apps public bool RunningCommand = false; public bool WaitingResponse = false; public string InputReturnText = ""; - public List c = TerminalBackend.commandBuffer; + public Stack c = TerminalBackend.commandBuffer; // The below variables makes the terminal... a terminal! string OldText = ""; @@ -133,7 +133,7 @@ namespace ShiftOS.Main.ShiftOS.Apps else if (e.KeyCode == Keys.Up) { if (c.Count == 0) return; - termmain.AppendText(c.Last()); + termmain.AppendText(c.Pop()); } } }