terminal
terminal copied to clipboard
Pane delimiters in tmux disappear for certain fonts at small sizes
Environment
[Environment]::OSVersion
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Windows Terminal version: 1.6.10412.0
Ubuntu 20.040 in WSL2
Steps to reproduce
- Install "DejaVu Sans Mono for Powerline" font in the system (for example from https://github.com/powerline/fonts/tree/master/DejaVuSansMono), or non-Powerline original DejaVu (it behaves just the same as its Powerline derivative)
- Set it as a default font for Windows Terminal or just for WSL and of size 9 (that's the only size when issue manifests):
"fontFace" : "DejaVu Sans Mono for Powerline", "fontSize" : 9, - Start Ubuntu in WSL tab
- Start
tmux - Split window into vertical panes:
Ctrl+B :split-window -v Enter
Expected behavior
Thin line between panes.

The delimiter line (which is just a unicode symbol "─" (copy-pasted here from the terminal terminal) is displayed unless specified above combo of font & size are used.
I.e the following setup changes make the delimiter to appear:
- The same font, but sizes != 8 (screenshot above is with size = 10)
- Another font (tried "Cascadia Code PL", "Source Code Pro for Powerline", "Ubuntu Mono derivative Powerline", "Roboto Mono for Powerline")
- Display scaling of 150% (on 100 & 125% the issue still happens), thus on HiDPI displays with enabled by default scaling you won't see it.
Actual behavior
No visible line between panes:

Huh. Weird. This one must just get shrunk into oblivion with the stretching we're doing. @miniksa as an FYI of a bug I'm throwing on you for 2.0 ☺️
Huh. Weird. This one must just get shrunk into oblivion with the stretching we're doing. @miniksa as an FYI of a bug I'm throwing on you for 2.0 ☺️
Gee thanks. :P
Hi! I think I had the same problem just now. Hope this helps...
Disabled history, scrollbar and scroll to input (I don't need any of those when using tmux, at least in my setup) After that, the issue seems to be resolved.
EDIT: The issue is still there, just seems to happen less.
I also have this issue, but only with settings as below:



When I change the size to smaller than 9 or bigger, then it's OK:


Also seems to happen with Lucidia Console, 8pt, 100% DPI (see #13011). Might just have been fixed for the atlas engine in #13549
I've been watching this since it was affecting me as well, and can confirm that this is fixed with the 1.16 preview release
(Incidentally, it uncovered a new text rendering issue, but I'll file that in a new bug)
Font: Lucida Console, 10pt
Before: (v1.14.2281.0)

After: (v1.16.2523.0)

I wonder if this got fixed in 1.18 Preview with the new renderer - I'd bet it did
Oh I can't read, yea looks like the new renderer did fix this