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

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

example/cli_cursor_example.dart

import 'package:cli_cursor/cli_cursor.dart';

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

  // Some async operation
  await Future<void>.delayed(const Duration(milliseconds: 2000));

  // Show the CLI cursor
  CliCursor.show();
}
0
likes
160
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

Documentation

API reference

License

MIT (license)

More

Packages that depend on cli_cursor