@@ -298,6 +298,8 @@ namespace ControlUnitTests
298298 TEST_METHOD_PROPERTY (L" IsolationLevel" , L" Method" )
299299 END_TEST_METHOD_PROPERTIES ()
300300
301+ bool unused{};
302+
301303 // This is a test for GH#9725
302304 WEX::TestExecution::DisableVerifyExceptions disableVerifyExceptions{};
303305
@@ -333,7 +335,8 @@ namespace ControlUnitTests
333335 modifiers,
334336 true , // focused,
335337 cursorPosition1.to_core_point (),
336- true );
338+ true ,
339+ unused);
337340 Log::Comment (L" Verify that there's one selection" );
338341 VERIFY_IS_TRUE (core->HasSelection ());
339342
@@ -345,7 +348,8 @@ namespace ControlUnitTests
345348 modifiers,
346349 true , // focused,
347350 cursorPosition2.to_core_point (),
348- true );
351+ true ,
352+ unused);
349353 Log::Comment (L" Verify that there's now two selections (one on each row)" );
350354 VERIFY_IS_TRUE (core->HasSelection ());
351355
@@ -376,7 +380,8 @@ namespace ControlUnitTests
376380 modifiers,
377381 true , // focused,
378382 cursorPosition4.to_core_point (),
379- true );
383+ true ,
384+ unused);
380385 Log::Comment (L" Verify that there's now one selection" );
381386 VERIFY_IS_TRUE (core->HasSelection ());
382387 }
@@ -390,6 +395,8 @@ namespace ControlUnitTests
390395 // For the sake of this test, scroll one line at a time
391396 interactivity->_rowsToScroll = 1 ;
392397
398+ bool unused{};
399+
393400 Log::Comment (L" Add some test to the terminal so we can scroll" );
394401 for (auto i = 0 ; i < 40 ; ++i)
395402 {
@@ -430,7 +437,8 @@ namespace ControlUnitTests
430437 modifiers,
431438 true , // focused,
432439 cursorPosition1.to_core_point (),
433- true );
440+ true ,
441+ unused);
434442 Log::Comment (L" Verify that there's one selection" );
435443 VERIFY_IS_TRUE (core->HasSelection ());
436444
@@ -550,6 +558,8 @@ namespace ControlUnitTests
550558 auto [core, interactivity] = _createCoreAndInteractivity (*settings, *conn);
551559 _standardInit (core, interactivity);
552560
561+ bool unused{};
562+
553563 // For this test, don't use any modifiers
554564 const auto modifiers = ControlKeyStates ();
555565 const auto leftMouseDown{ Control::MouseButtonState::IsLeftButtonDown };
@@ -577,7 +587,8 @@ namespace ControlUnitTests
577587 modifiers,
578588 true , // focused,
579589 cursorPosition1.to_core_point (),
580- true );
590+ true ,
591+ unused);
581592 Log::Comment (L" Verify that there's one selection" );
582593 VERIFY_IS_TRUE (core->HasSelection ());
583594
@@ -594,6 +605,8 @@ namespace ControlUnitTests
594605 auto [core, interactivity] = _createCoreAndInteractivity (*settings, *conn);
595606 _standardInit (core, interactivity);
596607
608+ bool unused {}
609+
597610 // For this test, don't use any modifiers
598611 const auto modifiers = ControlKeyStates ();
599612 const auto leftMouseDown{ Control::MouseButtonState::IsLeftButtonDown };
@@ -621,7 +634,8 @@ namespace ControlUnitTests
621634 modifiers,
622635 true , // focused,
623636 cursorPosition1.to_core_point (),
624- true );
637+ true ,
638+ unused);
625639 Log::Comment (L" Verify that there's one selection" );
626640 VERIFY_IS_TRUE (core->HasSelection ());
627641
@@ -646,7 +660,8 @@ namespace ControlUnitTests
646660 modifiers,
647661 true , // focused,
648662 cursorPosition2.to_core_point (),
649- false );
663+ false ,
664+ unused);
650665
651666 Log::Comment (L" The selection should be unchanged." );
652667 VERIFY_ARE_EQUAL (expectedAnchor, core->_terminal ->GetSelectionAnchor ());
@@ -662,6 +677,8 @@ namespace ControlUnitTests
662677 auto [core, interactivity] = _createCoreAndInteractivity (*settings, *conn);
663678 _standardInit (core, interactivity);
664679
680+ bool unused{};
681+
665682 // For this test, don't use any modifiers
666683 const auto modifiers = ControlKeyStates ();
667684 const auto leftMouseDown{ Control::MouseButtonState::IsLeftButtonDown };
@@ -737,7 +754,8 @@ namespace ControlUnitTests
737754 modifiers,
738755 true , // focused,
739756 cursorPosition1.to_core_point (),
740- true );
757+ true ,
758+ unused);
741759 Log::Comment (L" Verify that there's still no selection" );
742760 VERIFY_IS_FALSE (core->HasSelection ());
743761 }
@@ -751,6 +769,8 @@ namespace ControlUnitTests
751769 auto [core, interactivity] = _createCoreAndInteractivity (*settings, *conn);
752770 _standardInit (core, interactivity);
753771
772+ bool unused{};
773+
754774 Log::Comment (L" Fill up the history buffer" );
755775 const auto scrollbackLength = settings->HistorySize ();
756776 // Output lines equal to history size + viewport height to make sure we're
@@ -790,7 +810,8 @@ namespace ControlUnitTests
790810 modifiers,
791811 true , // focused,
792812 cursorPosition1.to_core_point (),
793- true );
813+ true ,
814+ unused);
794815 Log::Comment (L" Verify that there's one selection" );
795816 VERIFY_IS_TRUE (core->HasSelection ());
796817
@@ -849,7 +870,8 @@ namespace ControlUnitTests
849870 modifiers,
850871 true , // focused,
851872 cursorPosition0.to_core_point (),
852- true );
873+ true ,
874+ unused);
853875 VERIFY_IS_TRUE (core->HasSelection ());
854876 {
855877 const auto anchor{ core->_terminal ->GetSelectionAnchor () };
@@ -873,7 +895,8 @@ namespace ControlUnitTests
873895 modifiers,
874896 true , // focused,
875897 cursorPosition1.to_core_point (),
876- true );
898+ true ,
899+ unused);
877900 VERIFY_IS_TRUE (core->HasSelection ());
878901 {
879902 const auto anchor{ core->_terminal ->GetSelectionAnchor () };
0 commit comments