mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[highlights] a little too quick on the last checkin
This commit is contained in:
parent
e6590e94e2
commit
d381197195
@ -318,9 +318,8 @@ void textview_curses::textview_value_for_row(vis_line_t row,
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (auto &tc_highlight : this->tc_highlights) {
|
for (auto &tc_highlight : this->tc_highlights) {
|
||||||
// XXX testing for '$search' here sucks
|
|
||||||
bool internal_hl =
|
bool internal_hl =
|
||||||
tc_highlight.first.first != highlight_source_t::INTERNAL;
|
tc_highlight.first.first == highlight_source_t::INTERNAL;
|
||||||
|
|
||||||
if (tc_highlight.second.h_text_format != text_format_t::TF_UNKNOWN &&
|
if (tc_highlight.second.h_text_format != text_format_t::TF_UNKNOWN &&
|
||||||
source_format != tc_highlight.second.h_text_format) {
|
source_format != tc_highlight.second.h_text_format) {
|
||||||
|
Loading…
Reference in New Issue
Block a user