Ctrl+clicking URLs partially out of viewport not working as expected #18177
Labels
Area-Interaction
Interacting with the vintage console window (as opposed to driving via API or hooks)
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.22.2912.0
Windows build number
10.0.22635.4445
Other Software
No response
Steps to reproduce
Open Windows Terminal
Resize Terminal window to a small size
Press 'Enter' key until the active command prompt (with blinking cursor) reaches the last visible row in the window:
Run a command with a long URL, like:
echo 'https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalCore/lib/terminalcore-lib.vcxproj'
Ensure the URL wraps to span 2 or more lines. If not, resize the window to reduce the width.
Scroll up one line so that only the first line of the wrapped URL is visible:
Ctrl+click the visible part of the URL
Expected Behavior
It should navigate to the full URL (https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalCore/lib/terminalcore-lib.vcxproj)
Actual Behavior
It navigates to the part of the URL that's visible (https://github.com/microsoft/terminal/bl), which is often invalid
The text was updated successfully, but these errors were encountered: