raphamorim / rio

A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers.
https://raphamorim.io/rio
MIT License
3.2k stars 103 forks source link

zsh with glyphs won't render #499

Open viniliuti opened 2 months ago

viniliuti commented 2 months ago

Hello! I'm having some issues getting zsh with OhMyZSH to render glyphs. Fedora 40 almost a fresh install with KDE on Wayland, AMD GPU on mesa driver.

Using the docs to build from source, by the end of the process I was able to execute target/relase/rio fine, but KDE couldn't find it as an application so looking online I came up with these steps to make it recognize and have the correct logo.

# from rio root folder

sudo cp target/release/rio /usr/bin/
sudo cp misc/rio.desktop /usr/share/applications/

# copying Yin Yang icon location 
# /usr/share/icons/hicolor/scalable/apps/

sudo cp misc/logo.svg /usr/share/icons/hicolor/scalable/apps/rio.svg

Bash outputs fonts normally, but fail to render some of Angular's build messages. I've tried changing fonts to use a bunch of variables of CascadiaCode and FiraCode, installed from nerd-fonts, but none of them worked to make it load glyphs. I even tried changing it to some random weird system font to see if it was able to change something and saw nothing changed.

Deleted my rio config changes and changed log to log-level = "INFO".

Konsole running Rio

On this screenshot I typed the following on rio. Without any message on Konsole above running zsh.

echo $0
pwd

Rio running ng build

The output from ng build on a very basic app. Notice nothing above Initial chunk files.

Konsole running ng build

Now the output from Konsole, using bash and the green checks above Initial chunk files. All that without any messages on the terminal I launched rio.

What else can I try to help understand what is going on here 😆

Edit: looking at some issues I added RIO_LOG_LEVEL=INFO before launching it and got this as result: debug.log

Edit2: RIO_LOG_LEVEL=DEBUG trying cascadiacode after installed it using dnf debugdebug.log

With rio opened I just typed pwd

raphamorim commented 1 month ago

Hey @viniliuti thanks for the very descriptive issue, I appreciate it!

If open you open a new terminal and run echo $TERM, what it does return?

viniliuti commented 1 month ago

rio both on zsh and bash

image