aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/ShiftOS/Apps
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-11-22 20:06:58 -0600
committerFloppyDiskDrive <[email protected]>2017-11-22 20:06:58 -0600
commitdf647e5024e498905400e89f6762849fe17da03c (patch)
tree478ef8668e691bf1748839f218fbd46195486742 /ShiftOS.Main/ShiftOS/Apps
parent9bc7292d3b18fbb7b72a4fdbf020b84d370a2824 (diff)
downloadshiftos-rewind-df647e5024e498905400e89f6762849fe17da03c.tar.gz
shiftos-rewind-df647e5024e498905400e89f6762849fe17da03c.tar.bz2
shiftos-rewind-df647e5024e498905400e89f6762849fe17da03c.zip
yay things again
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Apps')
-rw-r--r--ShiftOS.Main/ShiftOS/Apps/Terminal.cs4
1 files 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<string> c = TerminalBackend.commandBuffer;
+ public Stack<string> 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());
}
}
}