summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wintable/new/select.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/new/select.h b/wintable/new/select.h
index fec8ba8..00b1d8d 100644
--- a/wintable/new/select.h
+++ b/wintable/new/select.h
@@ -83,6 +83,7 @@ static void doselect(struct table *t, intptr_t row, intptr_t column)
noScroll:
// now redraw the old and new /rows/
// we do this after scrolling so the rectangles to be invalidated make sense
+ // TODO this doesn't work correctly if we're deselecting
r.left = client.left;
r.right = client.right;
if (oldrow != -1 && oldrow >= t->vscrollpos) {