mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
Made a bare history call end with a newline
This commit is contained in:
parent
be1d216b34
commit
7698553c3a
|
@ -3661,6 +3661,7 @@ static int builtin_history( parser_t &parser, wchar_t **argv )
|
||||||
wcstring full_history;
|
wcstring full_history;
|
||||||
history->get_string_representation(full_history, wcstring(L"\n"));
|
history->get_string_representation(full_history, wcstring(L"\n"));
|
||||||
stdout_buffer.append(full_history);
|
stdout_buffer.append(full_history);
|
||||||
|
stdout_buffer.push_back('\n');
|
||||||
return STATUS_BUILTIN_OK;
|
return STATUS_BUILTIN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user