We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5168ddf commit a3a25afCopy full SHA for a3a25af
lldb/source/Host/common/Editline.cpp
@@ -443,7 +443,7 @@ unsigned char Editline::RecallHistory(bool earlier) {
443
m_live_history_lines = m_input_lines;
444
m_in_history = true;
445
} else {
446
- if (history_w(pHistory, &history_event, earlier ? H_NEXT : H_PREV) == -1) {
+ if (history_w(pHistory, &history_event, earlier ? H_PREV : H_NEXT) == -1) {
447
// Can't move earlier than the earliest entry
448
if (earlier)
449
return CC_ERROR;
0 commit comments