Module console_utils::control

source ·
Expand description

Control Utilities

This module provides functions for controlling the console, including flushing the output buffer, clearing lines, and moving the cursor in various directions.

Functions

  • Clears the current line in the console.
  • Flushes the output buffer, ensuring that all content is written to the console.
  • Moves the cursor down by the specified number of lines.
  • Moves the cursor to the left by the specified number of characters.
  • Moves the cursor to the right by the specified number of characters.
  • Moves the cursor to the specified position on the console.
  • Moves the cursor up by the specified number of lines.