-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
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