dart_console 4.1.1 copy "dart_console: ^4.1.1" to clipboard
dart_console: ^4.1.1 copied to clipboard

A helper library for command-line applications that need more control over input/output than the standard library provides.

4.1.1 #

  • updated the homepage link to the correct url.

4.1.0 #

  • opened the version range for intl to help make the pacakge more compatible.

4.0.2 #

  • updated the repository link

4.0.1 #

  • accidently restricted the win32 package version. re-opened the supported range.

4.0.0 #

  • Upgraded min sdk to 3.x. For ealier dart versions use the 3.x version of dart_console.

3.1.1 #

  • reduced the win32 range and restore win32 constanst to values deprecated vy win32 5.4.0. Will leave the move to win 5.4.0 to a later date.

3.1.0 #

  • opened up the win32 package version range.

3.0.0-beta.1 #

  • beta release for dart 3.x compatability

2.0.1 #

  • Fix: when running in a docker container cursorPosition can return an emtpy result when reading from stdin. Added check for empty result and return null as we do if the \x1b escape is missing.

1.1.2 #

  • Remove ioctl and rely on ANSI escape sequences instead. Increases compatibility on non-interactive terminals and fixes ARM64 compatibility issue.

1.1.1 #

  • Update some lints and platform specifications to satisfy pana.

1.1.0 #

  • Add table class for tabulated text (and demo example/table.dart)
  • Add calendar display, building on table primitives (and demo example/calendar.dart)
  • Update to lints package and fix various issues.
  • Add support for faint and strikethru font styles.
  • Add support for testing whether the terminal supports emojis.
  • Add support for resizing console window (thanks @FaFre)
  • Add writeAligned function for center- and right-justified text.
  • Fix error with forward deleting last character on a line (thanks @mhdolatabadi)
  • Bump dependencies and support package:ffi 2.x
  • Add lots of tests, including Github Actions automation.

1.0.0 #

  • Support sound null safety and latest win32 and ffi dependencies.

0.6.2 #

  • Bumped minver of win32

0.6.1 #

  • Update to latest win32 package
  • Add scrollback ignore option (thanks @averynortonsmith)
  • Fix readme (thanks @md-weber)

0.6.0 #

  • Shift all FFI code to the new win32 package

0.5.0 #

  • Add writeErrorLine function which writes to stderr
  • BREAKING: Automatically print a new line to the console after every readLine input
  • BREAKING: readLine now returns a null string, rather than an empty string, when Ctrl+Break or Escape are pressed.
  • Add Game of Life example (thanks to @erf)

0.4.0 #

  • Update to new FFI API

0.3.0 #

  • Add support for Windows consoles that recognize ANSI escape sequences

0.2.0 #

  • Add readline function and escape character support

0.1.0 #

  • Initial version
132
likes
150
pub points
99%
popularity

Publisher

verified publisheronepub.dev

A helper library for command-line applications that need more control over input/output than the standard library provides.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

characters, ffi, intl, win32

More

Packages that depend on dart_console