diff --git a/src/reader.cpp b/src/reader.cpp index 6f910dedd..be0992c06 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -1214,7 +1214,7 @@ void reader_data_t::paint_layout(const wchar_t *reason) { // Apply any selection. if (data.selection.has_value()) { - highlight_spec_t selection_color = {highlight_role_t::normal, highlight_role_t::selection}; + highlight_spec_t selection_color = {highlight_role_t::selection, highlight_role_t::selection}; auto end = std::min(selection->stop, colors.size()); for (size_t i = data.selection->start; i < end; i++) { colors.at(i) = selection_color;