Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Cursor.php

function Cursor::clearOutput

Clears all the output from the cursors' current position to the end of the screen.

Return value

$this

File

vendor/symfony/console/Cursor.php, line 161

Class

Cursor
@author Pierre du Plessis <pdples@gmail.com>

Namespace

Symfony\Component\Console

Code

public function clearOutput() : static {
    $this->output
        ->write("\x1b[0J");
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal