spr icon indicating copy to clipboard operation
spr copied to clipboard

[easy] Disable terminal text wrapping if message contains URL

Open keyz opened this issue 3 years ago • 0 comments

Summary

Minor issue: by default textwrap can break a URL into multiple lines. This makes PR links unclickable when the terminal window is small.

I played with a few config options on https://mgeisler.github.io/textwrap/ — think this is the best combo?

image

Test Plan

Before After
Screen Shot 2022-08-23 at 9 44 16 PM Screen Shot 2022-08-23 at 9 45 12 PM

keyz avatar Aug 24 '22 04:08 keyz