cli_repl icon indicating copy to clipboard operation
cli_repl copied to clipboard

A library for creating a simple REPL in Dart

Results 5 cli_repl issues
Sort by recently updated
recently updated
newest added

It works on Linux but since keyboard code is platform dependent, some keys like 'backspace' uses different code on Windows. Arrow key not working because `stdin` on Windows [does not...

As of Dart 2.1, Future/Stream have been exported from dart:core.

(edited first PR attempt to fix issue with branches) I'm hoping to use this library for the repl of my language, Pointless. I wonder whether you'd consider pulling a small...

Take this sample program: ```dart import 'package:cli_repl/cli_repl.dart'; void main() async { final repl = Repl(prompt: '> '); await for (final answer in repl.runAsync()) { if (answer == 'exit') break; await...

Hi! Thanks for writing this, it's just what I needed! There's just one issue I found... Running this code: ```dart await for (var line in repl.runAsync()) { print("you typed $line");...