Mono.Terminal.LineEditor.History.PreviousAvailable C# (CSharp) Method

PreviousAvailable() public method

public PreviousAvailable ( ) : bool
return bool
            public bool PreviousAvailable()
            {
                //Console.WriteLine ("h={0} t={1} cursor={2}", head, tail, cursor);
                if (count == 0)
                    return false;
                int next = cursor - 1;
                if (next < 0)
                    next = count - 1;

                if (next == head)
                    return false;

                return true;
            }