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.
Structs§
- Visibility
- Struct for ensuring and changing cursor visibility.
Functions§
- clear_
line - Clears the current line in the console.
- clear_
lines - Clears the
i
lines in the console. - flush
- Flushes the output buffer, ensuring that all content is written to the console.
- move_
cursor_ down - Moves the cursor down by the specified number of lines.
- move_
cursor_ left - Moves the cursor to the left by the specified number of characters.
- move_
cursor_ right - Moves the cursor to the right by the specified number of characters.
- move_
cursor_ to - Moves the cursor to the specified position on the console.
- move_
cursor_ up - Moves the cursor up by the specified number of lines.