summaryrefslogtreecommitdiff
path: root/src/client/shell/tests/copy.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 16:37:50 +0300
committerGitHub <noreply@github.com>2026-09-10 16:37:50 +0300
commit90e947a6e26e02f10ec7f1694c4eb5b78a86406b (patch)
tree773c5e6e45031a55b6a32cc731944c6e65e19f33 /src/client/shell/tests/copy.rs
parentbf76cef889257a56b29f892816cff827b34c23da (diff)
fix: bound mouse selection repaint cadence (#3901)
refs #3895
Diffstat (limited to 'src/client/shell/tests/copy.rs')
-rw-r--r--src/client/shell/tests/copy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/shell/tests/copy.rs b/src/client/shell/tests/copy.rs
index 2e0ca28d..c83f7fc6 100644
--- a/src/client/shell/tests/copy.rs
+++ b/src/client/shell/tests/copy.rs
@@ -162,7 +162,7 @@ fn client_mouse_selection_highlights_and_copies_through_endpoint_extraction() {
row: pane.inner_rect.y,
modifiers: KeyModifiers::empty(),
})]);
- assert!(drag.repaint);
+ assert!(drag.repaint || state.selection_repaint_deadline.is_some());
assert!(state
.selection
.as_ref()