diff --git a/src/reader.cpp b/src/reader.cpp index ac4797ac7..8669ac111 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -1212,7 +1212,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;