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
I'm using Terminal on OSX. When I'm writing a commit body which goes beyond my current line length, the prompt does something weird. I would expect the editor to handle wrapped text, but it currently has a bug where wrapped text is shown in a new line in the terminal.
Current Behavior
The wrapping text replaces whatever text content is on the previous line, with newly typed characters being appended to the end. This repeats for every new character. So for example, writing the text available for Thrift would have wrapped in my editor at ble for Thrift. This results in the following text replacing the last 20 lines in my terminal with the following:
ble for Thr
ble for Th
ble for Th
ble for T
ble for T
ble for
ble for
ble for
ble for
ble fo
ble fo
ble f
ble f
ble
ble
ble
ble
bl
bl
b
Expected Behavior
I'm using Terminal on OSX. When I'm writing a commit body which goes beyond my current line length, the prompt does something weird. I would expect the editor to handle wrapped text, but it currently has a bug where wrapped text is shown in a new line in the terminal.
Current Behavior
The wrapping text replaces whatever text content is on the previous line, with newly typed characters being appended to the end. This repeats for every new character. So for example, writing the text
available for Thrift
would have wrapped in my editor atble for Thrift
. This results in the following text replacing the last 20 lines in my terminal with the following:Affected packages
Possible Solution
Steps to Reproduce (for bugs)
Dependencies:
prompt-cli
in a repopackage.json
scriptcommit
to the command stringcommit
npm run commit
commitlint.config.js
```js { "extends": [ "@commitlint/config-conventional" ] } ```Context
This bug makes it difficult to use the CLI for long commit messages.
Your Environment
OSX 10.12
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: