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

NextAvailable() public method

Checks if there is a next item after the current item under the cursor.
public NextAvailable ( ) : bool
return bool
        public bool NextAvailable()
        {
            int next = (cursor + 1) % history.Length;
            if (count == 0 || next >= head)
                return false;

            return true;
        }