Everduin94 / better-commits

A CLI for creating better commits following the conventional commits specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How break a line in detailed description of the chages session

Wh-Marc opened this issue · comments

I can't find the way to write multi line in detailed description of the chages session

image

I tried to mark this issue with label but it seems I can't select label

Unfortunately, you have to use a \n character to make a new line.

The upstream library that controls the prompts doesn't support multi-line bombshell-dev/clack#25

And it looks like they're not accepting / merging PRs :( bombshell-dev/clack#143

Sorry to revive this topic, but @Everduin94 if you want this feature, you could fork clack and have a version with the PR

@reggermont - No worries! I took a look at the PR I originally linked. Just at a glance (and with my limited knowledge of clack), not personally a PR I would merge.

The PR is doing a lot more than just adding multi-line support. And blocks of code like this are concerning imo. Example

We really just need the ability to start a new line when pressing enter, and continuing on something like ctrl-enter. - Forking clack, merging that PR, and maintaining our forked version is a relatively huge amount of effort given the scope of how small better-commits is.