Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty ascii art (e.g. hide_ascii) + single --show = only blank lines in output #319

Open
teohhanhui opened this issue Jul 21, 2024 · 1 comment
Labels
type/bug Something isn't working.

Comments

@teohhanhui
Copy link

Describe the bug
When using an empty ascii art, either via hide_ascii = true or by pointing custom_ascii.path to a blank text file, running macchina with only a single --show option, the output consists entirely of blank lines (but with color codes).

To Reproduce
Steps to reproduce the behavior:

  1. echo 'hide_ascii = true' > ~/.config/macchina/themes/mytheme.toml
  2. macchina --show host --theme mytheme

Expected behavior
The value is printed normally.

Screenshots

Screenshot from 2024-07-21 22-16-59

macchina --doctor output
N/A

System Information
You don't have to provide this information if you're not comfortable doing so, but it'll help us solve the issue a lot faster.

  • Distribution: Fedora Linux Asahi Remix 40 (Workstation Edition)
  • Desktop Environment: GNOME
  • Operating System: Linux
  • Terminal: Ptyxis
  • Macchina's version: 6.1.8
@grtcdr grtcdr added the type/bug Something isn't working. label Sep 12, 2024
@grtcdr
Copy link
Member

grtcdr commented Sep 14, 2024

I can also reproduce this. It's definitely a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working.
Development

No branches or pull requests

2 participants