Formatting fix
This commit is contained in:
parent
5ba27c18a4
commit
253790be51
|
@ -1005,9 +1005,9 @@ private:
|
||||||
|
|
||||||
void history_push(History& history, StringView entry)
|
void history_push(History& history, StringView entry)
|
||||||
{
|
{
|
||||||
if(entry.empty() or
|
if (entry.empty() or
|
||||||
(m_flags & PromptFlags::DropHistoryEntriesWithBlankPrefix and
|
(m_flags & PromptFlags::DropHistoryEntriesWithBlankPrefix and
|
||||||
is_horizontal_blank(entry[0_byte])))
|
is_horizontal_blank(entry[0_byte])))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
history.erase(std::remove(history.begin(), history.end(), entry),
|
history.erase(std::remove(history.begin(), history.end(), entry),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user