- Code cleanup to change how some parameters are initialized.
- Avoid triggering https://github.com/dart-lang/sdk/issue/34775.
- Explicitly declare
Repl.exit()
's type asFutureOr<void>
.
- Migrate to null-safety
- Require >=Dart 2.12
- Removed a
dart:async
import that isn't required for >=Dart 2.1. - Require >=Dart 2.1.
- Support Dart 2 stable.
- Removes option to use sharedStdIn, as well as the
io
package dependency.
-
Line editing should now work in environments like the Emacs terminal where
EscO
is used for ANSI-escaped input instead of the more typicalEsc[
. -
Fixed issue with the prompt changing to the Node default when running on it.
-
Broadened dependency on the async package to support 2.x.x versions.
-
If compiled to JS and run with Node,
Repl.runAsync()
should now work. It uses the Node readline library for line editing. -
Repl.runAsync()
now supports running with no terminal, and should operate similarly to howRepl.run()
does, both on the Dart VM and on Node.
- Fix issues on Windows
-
Makes
Repl.run()
synchronous, since that use case is probably more common. The asynchronous version can now be run withRepl.runAsync()
. -
When running with
Repl.run()
and no terminal, this will no longer crash, and instead print both prompts and the input, allowing you to test a REPL by piping input to it. -
Adds support for limited cutting and pasting with Ctrl-U, Ctrl-K, and Ctrl-Y.
- Initial release