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

ANSI colors not showing (when escape is first character on line) #163

Open
lingo opened this issue Jun 28, 2024 · 0 comments
Open

ANSI colors not showing (when escape is first character on line) #163

lingo opened this issue Jun 28, 2024 · 0 comments

Comments

@lingo
Copy link

lingo commented Jun 28, 2024

Given this script

#!/bin/bash

echo -e "Testing ansi\n---"

echo -e "\e[36mFirst char is escape, color doesn't work | ansi=true emojize=false unescape=false trim=false useMarkup=false"
echo -e "\e\e[36mDouble esc char renders strangely | ansi=true emojize=false unescape=false trim=false useMarkup=false"
echo -e " \e[36ma space as first char; works| ansi=true emojize=false unescape=false trim=false useMarkup=false"
echo -e "​\e[36ma zero-width space as first char; works | ansi=true emojize=false unescape=false trim=false useMarkup=false"

I get the following results on Gnome Shell 42.9 with Argos master branch (I changed metadata.json to allow this to run on my Gnome version)

image

If this is a problem with my Gnome version, I understand it's not supported. However, I thought I'd report this in case it's a bug in Argos ANSI handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant