Index: sdk/lib/io/stdio.dart |
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart |
index b0e246d5e8c9853c60bbe8e1dbc60a00a5238a35..ab2f03a2dcdd191f8b035ad409e43cba21d574b6 100644 |
--- a/sdk/lib/io/stdio.dart |
+++ b/sdk/lib/io/stdio.dart |
@@ -121,7 +121,12 @@ class Stdin extends _StdStream implements Stream<List<int>> { |
} |
/** |
- * Enable or disable echo mode on the [Stdin]. |
+ * Check if echo mode is enabled on [stdin]. |
+ */ |
+ external bool get echoMode; |
+ |
+ /** |
+ * Enable or disable echo mode on [stdin]. |
* |
* If disabled, input from to console will not be echoed. |
* |
@@ -130,7 +135,12 @@ class Stdin extends _StdStream implements Stream<List<int>> { |
external void set echoMode(bool enabled); |
/** |
- * Enable or disable line mode on the [Stdin]. |
+ * Check if line mode is enabled on [stdin]. |
+ */ |
+ external bool get lineMode; |
+ |
+ /** |
+ * Enable or disable line mode on [stdin]. |
* |
* If enabled, characters are delayed until a new-line character is entered. |
* If disabled, characters will be available as typed. |