Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a soft wrap mode to gum input #795

Open
mil-ad opened this issue Jan 13, 2025 · 2 comments
Open

Add a soft wrap mode to gum input #795

mil-ad opened this issue Jan 13, 2025 · 2 comments

Comments

@mil-ad
Copy link

mil-ad commented Jan 13, 2025

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

@caarlos0
Copy link
Member

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

@mil-ad
Copy link
Author

mil-ad commented Jan 28, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants