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

Unified Diff: sdk/lib/_internal/pub/lib/src/io.dart

Issue 347863006: Stop gray text from making everything bold. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/log.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/io.dart
diff --git a/sdk/lib/_internal/pub/lib/src/io.dart b/sdk/lib/_internal/pub/lib/src/io.dart
index 4d4ddd5a7101b40d7db0a264dcf20d384ef83196..5ccb3c2caf3911e44c18276fb00b1a57d087cbd5 100644
--- a/sdk/lib/_internal/pub/lib/src/io.dart
+++ b/sdk/lib/_internal/pub/lib/src/io.dart
@@ -495,7 +495,7 @@ Future<bool> confirm(String message) {
if (runningAsTest) {
log.message("$message (y/n)?");
} else {
- stdout.write("$message (y/n)? ");
+ stdout.write(log.format("$message (y/n)? "));
}
return streamFirst(stdinLines)
.then((line) => new RegExp(r"^[yY]").hasMatch(line));
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/log.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698