diff options
author | 2012-06-04 23:59:04 -0700 | |
---|---|---|
committer | 2012-06-04 23:59:04 -0700 | |
commit | 7698553c3a76261518f93cbd17c55f11842071d7 (patch) | |
tree | 72e4d0149ab540ecb91a7980cf86b1d25cc346a0 /builtin.cpp | |
parent | be1d216b34c5e9c8dd89b60362883c21c5edc5fc (diff) |
Made a bare history call end with a newline
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.cpp b/builtin.cpp index 662f4b6a..c31b0ad9 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; } |