Skip to content

bug: Hyperlink protocol corrupted: "https://" becomes "tps://" on Alt+Click #1457

@pawelel

Description

@pawelel

Bug Description

When clicking on an HTTPS URL with Alt+Click, the protocol is incorrectly parsed - the first two characters ("ht") are removed from "https", resulting in "tps://" which Windows cannot recognize as a valid protocol.

Steps to Reproduce

  1. Display any HTTPS URL in Rio terminal output (e.g., echo "https://github.com")
  2. Hold Alt and click on the URL
  3. Windows shows error: "This file does not have a program associated with it"

Expected Behavior

Alt+Click should open the full URL: https://github.com in the default browser

Actual Behavior

Windows tries to open: tps://github.com (missing "ht" - first two characters from "https")

Environment

  • Rio Version: 0.2.37
  • OS: Windows 11
  • Shell: PowerShell 7

Observation

The first two characters of the protocol are consistently removed when using Alt+Click on hyperlinks.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions