Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: sdk/lib/_internal/lib/io_patch.dart

Issue 102953008: Add getter for lineMode and echoMode for Stdin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/stdio_patch.dart ('k') | sdk/lib/io/stdio.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index 426992b6805494905a3d21dd172ac7768c674e53..2f3db18fd1214d8b258f6bd19697cd54997a0cd4 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -343,9 +343,15 @@ patch class Stdin {
patch int readByteSync() {
throw new UnsupportedError("Stdin.readByteSync");
}
+ patch bool get echoMode {
+ throw new UnsupportedError("Stdin.echoMode");
+ }
patch void set echoMode(bool enabled) {
throw new UnsupportedError("Stdin.echoMode");
}
+ patch bool get lineMode {
+ throw new UnsupportedError("Stdin.lineMode");
+ }
patch void set lineMode(bool enabled) {
throw new UnsupportedError("Stdin.lineMode");
}
« no previous file with comments | « runtime/bin/stdio_patch.dart ('k') | sdk/lib/io/stdio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698