IrcShark.Extensions.Terminal.History.RemoveLast C# (CSharp) Method

RemoveLast() public method

Removes the last item that was added to the History.
public RemoveLast ( ) : void
return void
        public void RemoveLast()
        {
            head = head-1;
            if (head < 0)
                head = history.Length-1;
        }