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 09a5bca commit 287d193Copy full SHA for 287d193
src/filter_sub_source.cc
@@ -447,8 +447,15 @@ filter_sub_source::rl_history(textinput_curses& tc)
447
case text_format_t::TF_PCRE: {
448
std::vector<attr_line_t> poss;
449
this->fss_regexp_history.query_entries(
450
- tc.get_content(),
451
- [&poss](const auto& e) { poss.emplace_back(e.e_content); });
+ tc.get_content(), [&poss, &tc](const auto& e) {
+ auto al
452
+ = attr_line_t::from_table_cell_content(e.e_content,
453
+ tc.get_width())
454
+ .highlight_fuzzy_matches(tc.get_content())
455
+ .with_attr_for_all(
456
+ lnav::prompt::SUBST_TEXT.value(e.e_content));
457
+ poss.emplace_back(al);
458
+ });
459
tc.open_popup_for_history(poss);
460
break;
461
}
0 commit comments