RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
442 stars 29 forks source link

Separator is wobbly while notification feed is set to column mode #108

Open KSPAtlas opened 2 years ago

KSPAtlas commented 2 years ago

I am using a monospace font, but this happens: Screenshot 2021-11-26 17 40 08 Is this a bug on tut's side or on my TE's side?

RasmusLindroth commented 2 years ago

I think it's a font issue. You could try changing your config ~/.config/tut/config.ini and setting show-icons=false under the [general] section. If that solves it, it's an issue with your font.

I think it's because the characters ⤶ ★ ♺ are rendered with a different font than your normal text, so they take up more space horizontally. I don't have the same issue. I'm not sure if there's anything I can do about it

[edit] Could you also add what terminal emulator you're using?

ianthetechie commented 1 year ago

Sorry for the necro, but I found this thread and it had some important context for me. The glyphs above are not in many fonts, which isn't an issue in the more "mainstream" terminal emulators like GNOME or XFCE4 terminal. If you're trying to get cute / minimal though with something like urxvt, you'll need to have a fallback font in your .Xresources with those glyphs. They, somewhat surprisingly to me, didn't show up in Nerd Fonts that I tried, so I have to fall back to Symbola. It looks fine to me, but maybe it would fix the OP's issue and fix some dreaded rectangles out of the box for the other minority. Here's my config line btw in case anyone else stumbles across glyphs not rendering.

URxvt.font: xft:BitstreamVeraSansMono Nerd Font:size=12:antialias=true:minspace=false, xft:DejaVu Sans Mono:antialias=true:size=12, xft:Symbola:size=12