dart_console
v4.1.4A helper library for command-line applications that need more control over input/output than the standard library provides.
Архив пакета: https://pubdev.letsnova.ru/api/archives/dart_console/4.1.4.tar.gz
Установка
dart pub add dart_consoleREADME
This folder contains examples of using FFI for various underlying system calls.
История изменений
4.1.4
- Fix #6: Enhance string utilities with full-width character detection and accurate display width calculation Thanks to goweii for the pathc.
- Refactor string utilities: rename displayWidth to renderWidth and update Console class to use new method
4.1.3
- fixed links in the readme and pubspec.yaml
4.1.2
- Support intl v0.20.
- the table column layout was ignoring the columnWidth. The column width is now honoured.
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
writeAlignedfunction 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
writeErrorLinefunction which writes to stderr - BREAKING: Automatically print a new line to the console after every
readLineinput - BREAKING:
readLinenow 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
readlinefunction and escape character support
0.1.0
- Initial version
