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

Append() public method

Appends a value to the history.
public Append ( string s ) : void
s string The value to append.
return void
        public void Append(string s)
        {
            history [head] = s;
            head = (head+1) % history.Length;
            if (head == tail)
                tail = (tail+1 % history.Length);
            if (count != history.Length)
                count++;
        }