From 232ed91ec7537cf28ecb480e49dd7896f0a79d05 Mon Sep 17 00:00:00 2001 From: maxfl Date: Tue, 3 Jul 2012 10:28:04 +0800 Subject: [PATCH] Fix read default prompt. It's now single line. --- builtin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin.cpp b/builtin.cpp index 3204a6055..2f644fbe6 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -68,7 +68,7 @@ /** The default prompt for the read command */ -#define DEFAULT_READ_PROMPT L"set_color green; echo read; set_color normal; echo \"> \"" +#define DEFAULT_READ_PROMPT L"set_color green; echo -n read; set_color normal; echo -n \"> \"" /** The mode name to pass to history and input