From 7698553c3a76261518f93cbd17c55f11842071d7 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 4 Jun 2012 23:59:04 -0700 Subject: [PATCH] Made a bare history call end with a newline --- builtin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin.cpp b/builtin.cpp index 662f4b6a3..c31b0ad96 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -3661,6 +3661,7 @@ static int builtin_history( parser_t &parser, wchar_t **argv ) wcstring full_history; history->get_string_representation(full_history, wcstring(L"\n")); stdout_buffer.append(full_history); + stdout_buffer.push_back('\n'); return STATUS_BUILTIN_OK; }