dart_console icon indicating copy to clipboard operation
dart_console copied to clipboard

Dart library for writing console applications

Results 16 dart_console issues
Sort by recently updated
recently updated
newest added

When using Console.writeLine() to print strings that have either tabs or embedded ANSI codes. The resulting output is longer than the width of the screen so it appears that there...

Adds progress bar control and tidies up examples accordingly

Fixes issue #25 Not sure about implementation, but it works.

Some function similar to the C# function Keyboard.IsKeyPressed(...). If not. How would you go about, for example. printing a message every second until a key is pressed?

Ctrl+I is mapping to tab, F5 is unknown

The `ControlCharacter` enum has F1-F4. I would like support for more F-`n` keys like F5

Hi! Is it possible to use this module for not standard IO streams? My use case: [dartssh2](https://github.com/TerminalStudio/dartssh2/blob/master/example/dartsshd.dart#L102-L115) SSH server. I'd like to use this module for emulating terminal session.

if stdin is closed (seems to be within docker) hen the call to Console.cursorPosition will fail. RangeError: Invalid value: Not in inclusive range 0..1114111: -1 new String.fromCharCode (dart:core-patch/string_patch.dart:45) Console.cursorPosition (package:dart_console/src/console.dart:304)...

Like the title says, the fields `console.windowWidth` and `console.windowHeight` work correctly, but do not update after a window resize. Here's an example: ```dart import 'package:dart_console/dart_console.dart'; import 'dart:io'; void main() {...

Hi, If you write a while loop which contains a readLine() and a writeLine() (like below) and then continuously hold down the enter key, the program will eventually crash with...