basic_console 1.0.0+dev.2 copy "basic_console: ^1.0.0+dev.2" to clipboard
basic_console: ^1.0.0+dev.2 copied to clipboard

Very simple console not blocking input package, allows you to send async messages while getting user-input.

Features #

  • Non-blocking input.
  • Non-interrupting output.

Usage #

import 'dart:io';

import 'package:basic_console/console.dart';

final console = Console(stdin: stdin, stdout: stdout, prompt: '> ')..enable();

void main() {
  console.onLine.listen((line) {
    console.log('Non-interrupting message to console! Echo: $line');
  });
}

Additional information #

For utf-8 support on Windows enable it in setting!

License #

  • MIT License
0
likes
150
pub points
0%
popularity

Publisher

unverified uploader

Very simple console not blocking input package, allows you to send async messages while getting user-input.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on basic_console