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

Unified Diff: runtime/bin/stdio_patch.dart

Issue 19627004: Add echo and line modes to Stdin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing files. Created 7 years, 5 months 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
Index: runtime/bin/stdio_patch.dart
diff --git a/runtime/bin/stdio_patch.dart b/runtime/bin/stdio_patch.dart
index 198b69fa9eb5431f88e75e94eaad580489f6ab2a..482e8d7382245bf531034f77e73b679da0f16388 100644
--- a/runtime/bin/stdio_patch.dart
+++ b/runtime/bin/stdio_patch.dart
@@ -41,6 +41,8 @@ patch class _StdIOUtils {
patch class Stdin {
/* patch */ int readByteSync() native "Stdin_ReadByte";
+ /* patch */ void set echoMode(bool enabled) native "Stdin_SetEchoMode";
+ /* patch */ void set lineMode(bool enabled) native "Stdin_SetLineMode";
}

Powered by Google App Engine
This is Rietveld 408576698