Fix prompt history handling when pressing the down key
This commit is contained in:
parent
01152d7cd9
commit
22f3881cad
|
@ -698,7 +698,7 @@ public:
|
|||
// search for the next history entry matching typed prefix
|
||||
++m_history_it;
|
||||
while (m_history_it != history.end() and
|
||||
prefix_match(*m_history_it, m_prefix))
|
||||
not prefix_match(*m_history_it, m_prefix))
|
||||
++m_history_it;
|
||||
|
||||
if (m_history_it != history.end())
|
||||
|
|
Loading…
Reference in New Issue
Block a user