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

Underlines in Terminal.app #14

Closed
overvale opened this issue Dec 24, 2015 · 6 comments
Closed

Underlines in Terminal.app #14

overvale opened this issue Dec 24, 2015 · 6 comments

Comments

@overvale
Copy link

This command should print the word 'Hello" underlined.

echo -e '\033[4mHello'

However, as you can see below, this doesn't work.

pragmata_underline

I'd assume this is a terminal bug, but it works fine with other fonts.

@fabrizioschiavi
Copy link
Owner

Thanks for letting me know. I'll find why it doesn't work

@fabrizioschiavi
Copy link
Owner

In my Terminal it works
screen shot 2015-12-31 at 13 38 35
My Mac OS version is still 10.9.5, probably it doesn't work in more recent versions

@overvale
Copy link
Author

overvale commented Jan 2, 2016

I’m on 10.11.2

On 31 Dec 2015, at 4:41 AM, Fabrizio Schiavi notifications@github.com wrote:

In my Terminal it works
https://cloud.githubusercontent.com/assets/1576663/12064473/f10af5a4-afc3-11e5-8443-9ac3132b74a4.png
My Mac OS version is still 10.9.5, probably it doesn't work in more recent versions


Reply to this email directly or view it on GitHub #14 (comment).

@HealsCodes
Copy link

@OliverTaylor - doesn't look like an issue with Pragmata but rather with the line spacing applied by Terminal.app. I'm on 10.11.4 and if I enter just your command I get Hello with underline and then a split second later the underline is overdrawn with the next prompt. But If I then press enter a few times the underline reappears.

It also works out-of-the-box on a recent version of iTerm2 so it looks pretty much like Terminal.app thing.

[EDIT] I didn't test with Pragmata since I haven't bought it yet but I'm experiencing the same with Fira Code.

@overvale
Copy link
Author

Yeah. I came to the same conclusion.

On Mar 24, 2016, at 1:52 AM, René Köcher notifications@github.com wrote:

@OliverTaylor - doesn't look like an issue with Pragmata but rather with the line spacing applied by Terminal.app. I'm on 10.11.4 and if I enter just your command I get Hello with underline and then a split second later the underline is overdrawn with the next prompt. But If I then press enter a few times the underline reappears.

It also works out-of-the-box on a recent version of iTerm2 so it looks pretty much like Terminal.app thing.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@lloeki
Copy link

lloeki commented Oct 20, 2017

@Shirk This should really be echo -e '\033[4mHello\033[0m'

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

4 participants