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