-
Notifications
You must be signed in to change notification settings - Fork 36
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
Allow multiline text entry for changes and eliminate problem with repeated output to terminal #385
Comments
Multi-line input is going to be an option with survey once this PR is merged and I make a new custom type: #374 Currently the only way you can do it is by adding custom choices for what each "line" would be and combine it together. You can specify it per kind as well if you want it only for breaking changes or whatever. tl;dr this is more a limitation of promptui at this point. |
@sheldonhull Just want to give an update on this, it looks like a survey maintainer has taken a look at the windows issue and has a draft PR open. Once that is merged I will swap from promptui to survey and add a multiline option soon after that. |
FYI the bubbletea based gum cli worked well in powershell and windows with the multi-line edit. Survey is great as well, just wanted to mention that if you mix and match I've found bubbletea + another library this last week that are designed for robust text input and offer multi-line. If you end up not getting progress on the survey side I'd be glad to provide a few examples with the other resources I've come across. Definitely appreciating changie! Off topic question: Have you considered a command like |
Major, minor and patch are already allowed in batch https://changie.dev/cli/changie_batch/ There is an existing PR open from a maintainer on fixing the issue, some stuff is happening on the survey side so I think it would be best to wait for now. |
Work will begin soon using a new tool related to this issue: #457 |
Support was added to v1.12.0, let me know if any bugs appear |
Is your feature request related to a problem? Please describe.
The input for a change might contain more complex changes.
I'd like to write multiple lines.
Describe the solution you'd like
The body should be a multi-line input and this should be saved via
Describe alternatives you've considered
I use gum for this.
Additional context
Currently the input once exceeding the width of the terminal incorrectly reflects repeated lines. See attached gif.
The text was updated successfully, but these errors were encountered: