From 90e947a6e26e02f10ec7f1694c4eb5b78a86406b Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 10 Sep 2026 16:37:50 +0300 Subject: fix: bound mouse selection repaint cadence (#3901) refs #3895 --- src/client/shell/tests/copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/shell/tests/copy.rs') 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() -- cgit v1.2.3