1
1
mirror of https://github.com/tstack/lnav.git synced 2024-11-10 01:34:49 +03:00

[logfile_sub_source] remove alternate 5 min highlight

This commit is contained in:
Timothy Stack 2021-09-18 21:38:43 -07:00
parent 6761e2d7df
commit ecb4084b37

View File

@ -532,16 +532,6 @@ void logfile_sub_source::text_attrs_for_line(textview_curses &lv,
view_colors::VCR_ADJUSTED_TIME);
}
}
else if ((((this->lss_token_line->get_time() / (5 * 60)) % 2) == 0) &&
!this->lss_token_line->is_continued()) {
struct line_range time_range = find_string_attr_range(
value_out, &logline::L_TIMESTAMP);
if (time_range.lr_end != -1) {
value_out.emplace_back(time_range, &view_curses::VC_ROLE,
view_colors::VCR_ALT_ROW);
}
}
if (this->lss_token_line->is_time_skewed()) {
struct line_range time_range = find_string_attr_range(