| Index: runtime/bin/stdio_patch.dart
|
| diff --git a/runtime/bin/stdio_patch.dart b/runtime/bin/stdio_patch.dart
|
| index d096a0307ff530095dea1ab8a90101ba6f3ae296..f4d2f86e9dae663655026bf5f70e4b695fedd82f 100644
|
| --- a/runtime/bin/stdio_patch.dart
|
| +++ b/runtime/bin/stdio_patch.dart
|
| @@ -97,7 +97,8 @@ class Stdin {
|
| }
|
| }
|
|
|
| - @patch bool get supportsAnsiEscapes {
|
| + @patch
|
| + bool get supportsAnsiEscapes {
|
| var result = _supportsAnsiEscapes();
|
| if (result is OSError) {
|
| throw new StdinException("Error determining ANSI support", result);
|
| @@ -140,7 +141,8 @@ class Stdout {
|
|
|
| static _getTerminalSize(int fd) native "Stdout_GetTerminalSize";
|
|
|
| - @patch static bool _supportsAnsiEscapes(int fd) {
|
| + @patch
|
| + static bool _supportsAnsiEscapes(int fd) {
|
| var result = _getAnsiSupported(fd);
|
| if (result is! bool) {
|
| throw new StdoutException("Error determining ANSI support", result);
|
|
|