New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zooming and splitting a pane adds trailing spaces to pane contents #1013
Comments
When you copy with copy mode, right? |
With the mouse, sorry. |
Copy mode is fine. |
Well, if spaces happened to be the best way to clear here you would be on your own, but it does look a bit odd:
There is no point in clearing to the end of the line with spaces after "foo" when we just cleared it with ED1... And I'm not sure where these spaces have come from, because there is no evidence the line has ever been that length. Maybe rewrap expanded it for some reason. |
Does this help? x.diff.txt |
Yep, that works great. Thanks! |
OK applied, thanks. If you have a nondefault bg colour you will still get trailing spaces but TBH unless you are using copy mode it will always be best effort. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
On Fedora 25 using tmux version e725b96, I'm seeing this behavior (without any config file):
echo foo
tmux split-window -h -d
tmux resize-pane -Z
echo foo
The first
echo foo
and its output will have trailing space in it while the second will not.$TERM
inside:screen-256color
$TERM
outside:rxvt-unicode-256color
Logs:
tmux-client-20083.txt
tmux-out-20085.txt
tmux-server-20085.txt
Will try to bisect later today. My reflog says it appeared between d149752 and fbbf5a1 for anyone who wants to do it before I get around to it.
The text was updated successfully, but these errors were encountered: