Fix d8 prompt after readline removal
authorAdam Klein <adamk@chromium.org>
Thu, 23 Jul 2015 19:26:50 +0000 (12:26 -0700)
committerAdam Klein <adamk@chromium.org>
Thu, 23 Jul 2015 19:27:12 +0000 (19:27 +0000)
TBR=yangguo@chromium.org

Review URL: https://codereview.chromium.org/1246983004 .

Cr-Commit-Position: refs/heads/master@{#29824}

src/d8.cc

index 52df5c0..9aeac11 100644 (file)
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1391,7 +1391,7 @@ void Shell::RunShell(Isolate* isolate) {
   printf("V8 version %s\n", V8::GetVersion());
   while (true) {
     HandleScope inner_scope(isolate);
-    printf(" d8>");
+    printf("d8> ");
 #if defined(__native_client__)
     // Native Client libc is used to being embedded in Chrome and
     // has trouble recognizing when to flush.