gnome-terminal renders the unicode symbols (arrows) in my prompt different from urxvt:
They are displayed across the whole line's height, have less spacing in-between, but more appropriate spacing at the end (there is a space char after them).
Edit: the missing space at the end was triggered by having an escape code, e.g. %b
for non-bold in zsh, at the end of RPS1
. Removing it or adding a space after it fixed this particular issue.
My urxvt font config:
URxvt.font: xft:Ubuntu Mono:pixelsize=16, \
xft:monospace, \
xft:Ubuntu Mono for Powerline
This applies also to other symbols like ↳
.
I have noticed that lilyterm
behaves like gnome-terminal
(caused by vte), while konsole
, xterm
etc behave like urxvt
.
Is it possible to configure urxvt to do the same?
I am using rxvt-unicode-256color 9.19-1 on Ubuntu 14.04. gnome-terminal is more recent (from Debian testing), and lilyterm is built from source.
An example prompt with symbols:
↳ git:m@o[+2]¹✗ ❯❯
urxvt -fn "xft:Ubuntu Mono:pixelsize=16"
It should load the font and look as you expect it to (it did for me, at least)[
? Can you provide a screenshot, please?