knqyf263/pet

Garbled characters appear when using variables.

ofey404 opened this issue · 4 comments

When I use a snippet with variable, like this:

[[snippets]]
  description = "ssh without hostkey auth"
  command = "ssh <user>@<host> -o StrictHostKeyChecking=no"
  output = ""

I got some garbled characters on the terminal, like:

image

It's a bit annoying... I am trying to figure out why by myself. I'm grateful if there are anyone who have met this issue before.

My system is fedora 33, garbled characters happens on gnome-terminal and guake terminal, font is system monospace.

just quick question: where does that visual come from? Do you use some graphic ssh client?

It’s a screenshot from my own laptop. I run fedora on my own computer, bare metal. I wonder if this problem comes from Wayland, for it has caused many problems...

Maybe I should change my font to test it.

I compiled from source and this problem disappeared. Maybe the version in fedora's package manager is too old.