Title: Enable multi-line commit body input · Issue #1917 · commitizen-tools/commitizen · GitHub
Open Graph Title: Enable multi-line commit body input · Issue #1917 · commitizen-tools/commitizen
X Title: Enable multi-line commit body input · Issue #1917 · commitizen-tools/commitizen
Description: Description The interactive prompt has no visible way to enter multi-line commit bodies. Pressing Enter submits the field. Reading the source code reveals that there is an undocumented feature for this: entering | in the body field acts ...
Open Graph Description: Description The interactive prompt has no visible way to enter multi-line commit bodies. Pressing Enter submits the field. Reading the source code reveals that there is an undocumented feature for ...
X Description: Description The interactive prompt has no visible way to enter multi-line commit bodies. Pressing Enter submits the field. Reading the source code reveals that there is an undocumented feature for ...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1917
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable multi-line commit body input","articleBody":"### Description\n\nThe interactive prompt has no visible way to enter multi-line commit bodies. Pressing Enter submits the field.\n\nReading the source code reveals that there is an undocumented feature for this: entering `|` in the body field acts as a line break separator. This works, but is impossible to discover without reading the source.\n\n### Possible solution\n\nTwo improvements would address this:\n1. **Document the `|` separator**. At minimum in the docs, ideally as a hint in the prompt.\n2. **Support Shift+Enter as a newline**. I assume this is expected behaviour for most people (at least it was for me), because most editors do it like this. Additionally, the user could see the newline rendered directly, instead of some character somewhere in the text.\n\n### Additional context\n\nThe `|` behaviour is implemented in `multiple_line_breaker`, added as a filter to the \"body\" `QzQuestion`.\n\n### Related issues\n\n_No response_","author":{"url":"https://github.com/axkoro","@type":"Person","name":"axkoro"},"datePublished":"2026-03-31T10:51:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1917/commitizen/issues/1917"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fef670ba-ff24-29d4-b5a2-3de29d5cd61f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3C4:10ED6:73BF5F:9CD343:6A4DD5AF |
| html-safe-nonce | 32672789045fea7c2d43a741d7f033b4e40503b87acd89d4dff98f9bc8ed09f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0M0OjEwRUQ2OjczQkY1Rjo5Q0QzNDM6NkE0REQ1QUYiLCJ2aXNpdG9yX2lkIjoiNzU4MjUxODA5ODYwNDcwOTI5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c53097cc78b1ae9ee177f1efd614d962e77313bd80e68dfe06ff18dd36acc435 |
| hovercard-subject-tag | issue:4178109250 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1917/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c25ed7b7443ff70a634d3f39e73d0704382ed5ace4859d377ed03d87b4a8a03b/commitizen-tools/commitizen/issues/1917 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c25ed7b7443ff70a634d3f39e73d0704382ed5ace4859d377ed03d87b4a8a03b/commitizen-tools/commitizen/issues/1917 |
| og:image:alt | Description The interactive prompt has no visible way to enter multi-line commit bodies. Pressing Enter submits the field. Reading the source code reveals that there is an undocumented feature for ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | axkoro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width