Crate console_utils

source ·
Expand description

A simple library for console-based user input, option selection and more.

Enums

  • Enumeration representing different types of spinners.

Functions

  • Clears the current line in the console.
  • Flushes the output buffer, ensuring that all content is written to the console.
  • Reads user input from 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.
  • Reveals a string gradually, printing one character at a time with a specified time interval.
  • Allows the user to select options from a list using the console.
  • Displays a console-based spinner animation.