cli_cursor 1.0.0 copy "cli_cursor: ^1.0.0" to clipboard
cli_cursor: ^1.0.0 copied to clipboard

Dart utility used to easily toggle the cursor inside command-line apps

cli_cursor #

Easily toggle the cursor inside command-line apps

Usage #

import 'package:cli_cursor/cli_cursor.dart';

Future<void> main() async {
  // Hide the CLI cursor
  CliCursor.hide();

  // Some async operation
  await Future.delayed(Duration(milliseconds: 2000));

  // Show the CLI cursor
  CliCursor.show();
}

Credits #

cli_cursor by Sindre Sorhus

0
likes
0
pub points
0%
popularity

Publisher

verified publishermarinvitlov.com

Dart utility used to easily toggle the cursor inside command-line apps

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on cli_cursor