aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index cc60f86..2335a2a 100644
--- a/view.c
+++ b/view.c
@@ -417,7 +417,7 @@ void view_draw(View *view) {
size_t pos = view_cursors_pos(c);
if (view_coord_get(view, pos, &c->line, &c->row, &c->col)) {
c->line->cells[c->col].cursor = true;
- if (view->ui) {
+ if (view->ui && !c->sel) {
Line *line_match; int col_match;
size_t pos_match = text_bracket_match_except(view->text, pos, "<>");
if (pos != pos_match && view_coord_get(view, pos_match, &line_match, NULL, &col_match)) {