gum icon indicating copy to clipboard operation
gum copied to clipboard

Add a soft wrap mode to gum input

Open mil-ad opened this issue 11 months ago • 2 comments

Is your feature request related to a problem? Please describe. some times When entering long text into gum input it makes more sense for the text to be wrapped instead of horizontal scroll

Describe the solution you'd like Maybe a --wrap switch

mil-ad avatar Jan 13 '25 18:01 mil-ad

maybe worth using gum write instead? input is meant to be just a simple one-line input

caarlos0 avatar Jan 28 '25 18:01 caarlos0

Ah good suggestion! I hadn't even noticed gum write. It does handle wrapping but there are subtle differences it seems. For example it doesn't respond to Esc and although its help says that it has a --prompt argument, that doesn't seem to do anything for me.

mil-ad avatar Jan 28 '25 18:01 mil-ad