We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64b092 commit f27420bCopy full SHA for f27420b
1 file changed
src/breadcrumb_curses.cc
@@ -171,8 +171,8 @@ breadcrumb_curses::reload_data()
171
if (found_poss_opt) {
172
selected_value = std::distance(this->bc_similar_values.begin(),
173
found_poss_opt.value());
174
- } else {
175
- selected_value = std::nullopt;
+ } else if (!this->bc_current_search.empty()) {
+ selected_value = 0;
176
}
177
178
0 commit comments