diff options
| -rw-r--r-- | selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c index 9fc304c5..76b4d3dc 100644 --- a/selection.c +++ b/selection.c @@ -97,7 +97,7 @@ selection_start(struct terminal *term, int col, int row) selection_cancel(term); LOG_DBG("selection started at %d,%d", row, col); - term->selection.start = (struct coord){col, row}; + term->selection.start = (struct coord){col, term->grid->view + row}; term->selection.end = (struct coord){-1, -1}; } |
