Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh pr view doesn't print a newline after the URL #2674

@mtfurlan

Description

@mtfurlan

Describe the bug

When running gh pr view, the URL doesn't have a newline after it, so it gets combined with my PS1 making a link I cannot click on.

$ gh --version
gh version 1.4.0 (2020-12-15)
https://github.com/cli/cli/releases/latest

Steps to reproduce the behavior

  1. gh pr view
  2. Stare at the invalid link
View this pull request on GitHub: https://github.com/org/repo/pull/57mark@boethiah$

Expected vs actual behavior

View this pull request on GitHub: https://github.com/org/repo/pull/57
mark@boethiah$

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions