SadConsole.Consoles.Cursor.LineFeed C# (CSharp) Méthode

LineFeed() public méthode

Moves the cursor down a line.
public LineFeed ( ) : Cursor
Résultat 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;
        }