cpjreynolds / rustty

A terminal UI library
https://docs.rs/rustty
MIT License
153 stars 14 forks source link

Circle example does not show a circle #29

Open matthiasbeyer opened 8 years ago

matthiasbeyer commented 8 years ago

As described in #28, the circle example does not show an circle for me.

2016-01-05-210626_956x520_scrot

Relevant information:

No compiler warnings when building rustty.

Terminal: xterm WM: i3wm

Do you need more information? Ping me!


Besides, the example runs at 100% CPU usage on one core. I guess this is not intensional...

Syntaf commented 8 years ago

Interesting, I'm running XUbuntu with i3wm as well, however running the circle example on xterm works fine with me. What distribution are you using?

matthiasbeyer commented 8 years ago

I'm using NixOS, though I doubt the distro has anything to do with it. What underlying libraries are involved here, maybe there's a difference somewhere?

cpjreynolds commented 8 years ago

This is most likely a font issue as the example uses Unicode block characters, would you mind sharing what terminal font you use?

Thank you for reporting this!

matthiasbeyer commented 8 years ago

I'm not sure where this information is configured, I'm pretty sure I'm using the default font.

My /etc/vconsole.conf says

FONT=lat9w-16

though I'm pretty sure this is not what you're looking for, is it?

cpjreynolds commented 8 years ago

I could be wrong but I believe vconsole.conf will only affect the actual virtual console, and not xterm itself. Your xterm font settings most likely select a font without full unicode support, do you have a font set in your Xresources file?

matthiasbeyer commented 8 years ago

.Xresources:

XTerm*metaSendsEscape: true
ErichDonGubler commented 6 years ago

@matthiasbeyer: Are you running xterm or uxterm? There might be a big difference there.