Closed poetaman closed 3 years ago
Nevermind, this does not always happen. Not sure why it happened then...
Looks like something is changing the stty ocrnl
or other output settings which impacts how CR is processed at the kernel level.
Most likely something in your shell setup is manipulating stty
.
https://github.com/zdharma/zinit/search?q=stty shows that zinit does something with stty but I don't really want to learn what zinit is or does :)
I'd suggest reading through issues like this one: https://github.com/containers/podman/issues/3179 to get a sense of what is happening.
You'll also want to look at man stty
and stty -a
to see what mode the tty is in.
I'm closing this out as it doesn't appear to be a wezterm issue, but an issue with the tty settings.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Describe the bug
Running
>>git status -uno
in a git repo from WezTerm using zsh & zinit produces spurious indents on each line. This problem does not happen with iTerm2. Not sure if this is a zinit issue, have posted this as a bug on their repo too: https://github.com/zdharma/zinit/issues/514Environment (please complete the following information):
To Reproduce
1) Install zinit. It will add following lines to your
.zshrc
:2) Manually add few more lines after these lines:
>>git status -uno
Screenshots