aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:15:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:15:18 +0000
commita577496f8f8ee55099bc47a58fc7c94d354d6602 (patch)
tree5daa9d66676181d886cf4e9adcca61fe21c66a7a /selection.c
parentMerge branch 'refactor-shm-buffer-management' (diff)
parentchangelog: crash when \E[3J was executed with a selection in the scrollback (diff)
Merge branch 'crash-when-selection-is-in-scrollback-and-scrollback-is-erased'
Closes #633
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/selection.c b/selection.c
index 57ab8bf6..537614f6 100644
--- a/selection.c
+++ b/selection.c
@@ -69,10 +69,8 @@ selection_on_rows(const struct terminal *term, int row_start, int row_end)
end = tmp;
}
- if (row_start >= start->row && row_end <= end->row) {
- LOG_INFO("ON ROWS");
+ if (row_start >= start->row && row_end <= end->row)
return true;
- }
return false;
}