You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be no way of adding newlines to the body of the commit. No way to really use for long commit messages as is, since a one line huge body isn't that nice.
Expected Behavior
Shift+enter or \n should work.
Even better would be auto wrapping to say 80 characters, so that one could write it out naturally, but the prompt would cut it down to lines.
Current Behavior
Enter (and shift+enter) submits and \n gets printed as is 😢
Affected packages
cli
core
prompt
config-angular
The text was updated successfully, but these errors were encountered:
Yep, currently @commitlint/prompt does not support multiline input.
The thing with multiline editing is that it is very hard to scope this properly - when thinking things through you reach the feature set of a general purpose text editor.
That being said I guess we could come up with some scheme to allow for multiline output on a single line input (as your suggestions imply).
Personally I held back with changes on @commitlint/prompt due to #86
There seems to be no way of adding newlines to the body of the commit. No way to really use for long commit messages as is, since a one line huge body isn't that nice.
Expected Behavior
Shift+enter or
\n
should work.Even better would be auto wrapping to say 80 characters, so that one could write it out naturally, but the prompt would cut it down to lines.
Current Behavior
Enter (and shift+enter) submits and
\n
gets printed as is 😢Affected packages
The text was updated successfully, but these errors were encountered: