Repository: microsoft/terminal (language: cpp)

Issue:
All URL hovers (OSC 8 and autodetected) are off by 0.5 cells
### Windows Terminal version

1.23 Preview, 1.24 Canary

### Windows build number

_No response_

### Other Software

_No response_

### Steps to reproduce

Hyperlink. Hover it.

![Image](https://github.com/user-attachments/assets/b2cd424c-fda7-4bdc-8ba4-bbc75e85dfd7)

### Expected Behavior

_No response_

### Actual Behavior

-


Discussion / hints:
Related to #18486

Fix patch:
diff --git a/src/cascadia/TerminalControl/ControlInteractivity.cpp b/src/cascadia/TerminalControl/ControlInteractivity.cpp
index 0fd2840a583..6587f9777b6 100644
--- a/src/cascadia/TerminalControl/ControlInteractivity.cpp
+++ b/src/cascadia/TerminalControl/ControlInteractivity.cpp
@@ -340,7 +340,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
                                             const Core::Point pixelPosition,
                                             const bool pointerPressedInBounds)
     {
-        const auto terminalPosition = _getTerminalPosition(til::point{ pixelPosition }, true);
+        const auto terminalPosition = _getTerminalPosition(til::point{ pixelPosition }, false);
         // Returning true from this function indicates that the caller should do no further processing of this movement.
         bool handledCompletely = false;
 
@@ -489,7 +489,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
                                           const Core::Point pixelPosition,
                                           const Control::MouseButtonState buttonState)
     {
-        const auto terminalPosition = _getTerminalPosition(til::point{ pixelPosition }, true);
+        const auto terminalPosition = _getTerminalPosition(til::point{ pixelPosition }, false);
 
         // Short-circuit isReadOnly check to avoid warning dialog.
         //


Test patch: