aboutsummaryrefslogtreecommitdiff
path: root/shiftos.main/shiftos/apps
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-11-22 20:07:19 -0600
committerFloppyDiskDrive <[email protected]>2017-11-22 20:07:19 -0600
commit1febbbd405e6f67401313defb76cc5a41b44c912 (patch)
tree05cbcfb6bb25dbbfceadeb3e92e18b31625acc66 /shiftos.main/shiftos/apps
parentdf647e5024e498905400e89f6762849fe17da03c (diff)
downloadshiftos-rewind-1febbbd405e6f67401313defb76cc5a41b44c912.tar.gz
shiftos-rewind-1febbbd405e6f67401313defb76cc5a41b44c912.tar.bz2
shiftos-rewind-1febbbd405e6f67401313defb76cc5a41b44c912.zip
i think git is drunk
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());
}
}
}