-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Border not displaying correctly? #224
Comments
tmux version? terminal? TERM inside and outside tmux? Are you using UTF-8? |
Tmux version is 2.0 in container, 1.8 on host, but I'm reasonably sure that I had that problem on 1.8 as well (probably why I upgraded to 2.0, thinking it would go away). Not sure what you mean by terminal... I've also noticed one other thing that might help; if I open something like midnight commander in the right pane, it shows the borders fine, but if I open in the left and then switch focus between them I get something like this: https://imgur.com/tvSd4h8. Tmux doesn't freeze. |
What terminal are you running tmux inside? |
You mean the host OS terminal application? That would be pantheon-terminal. |
Does it still happen in xterm? |
Installed xterm on host and started the docker instance in it. The issue persists. |
Hmm. Please run "tmux -vvvv -f /dev/null -Ltest new" then reproduce the problem and send me the tmux-*.log files. |
Here are the log files. All I did was open tmux, created another pane and switched between them. |
If you put just this in terminal-overrides, does it fix the problem: set -ag terminal-overrides ',*:cud1=\E[1B' |
I edited the previous comment, make sure you include the comma: set -ag terminal-overrides ',*:cud1=\E[1B' |
I've just tested the fix you provided and it appears to be working properly now. The border is displaying properly and there are no more graphical anomalies. Can you tell me what happened? |
Something has a bug and is treating LF (\n) like CRLF (\r\n). In non-canonical mode, LF should just move the cursor one line down, it should not also move it to the start of the line. Since it is the same in xterm I suspect it is not the terminal itself, what else is getting the data between tmux and xterm? |
First off, I ran this from pantheon-terminal, not xterm. And the only thing between them is the docker container (without any processes running, other than bash). |
But you tried it in xterm earlier right and the bug was still there? |
Yes, of course. Both the bug and solution work in xterm and pantheon-terminal. As far as I'm concerned, this problem is solved you can close this issue. In case somebody with this same problem Googles the issue (broken border/graphic artifacts in tmux under docker), here's the solution: just add
to your .tmux.conf file (mine is in ~/.tmux.conf). |
I expect this is a bug in docker or in your Linux install, you may see other problems too since \n is not behaving as expected. |
Hi there, sorry for the late reply. I've moved on from the setup described in the issue so I'm afraid I can't help you much. Sorry :( |
@tarvos21 I had a similar issue as yours. I fixed the problem by changing "ambiguous-width chars" setting from "full width" to "half width" in gnome terminal. ("Edit" -> "Profile Preferences" -> "Compatibility" -> "Ambiguous-width chars"). |
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. |
Here are some screenshots:
https://imgur.com/a/Ljmz2
Basically, every time the rightmost panel is selected, the border does not go all the way. There are also some (possibly unrelated) issues with mouse text select with the select overflowing into other panes.
I'm running tmux inside a docker container (ubuntu:trusty). The same issue does not exist on the host system (Elementary OS Freya).
The text was updated successfully, but these errors were encountered: