SadConsole.Consoles.Cursor.LineFeed C# (CSharp) Method

LineFeed() public method

Moves the cursor down a line.
public LineFeed ( ) : Cursor
return Cursor
        public Cursor LineFeed()
        {
            if (_position.Y == ((SurfaceEditor)_console.Target).TextSurface.Height - 1)
            {
                ((SurfaceEditor)_console.Target).ShiftUp();
                //if (((CustomConsole)_console.Target).Data.ResizeOnShift)
                //    _position.Y++;
            }
            else
                _position.Y++;

            return this;
        }