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
olivertaylor opened this Issue Dec 24, 2015 · 6 comments

Comments

Projects
None yet
4 participants
@olivertaylor

olivertaylor commented Dec 24, 2015

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

This comment has been minimized.

Owner

fabrizioschiavi commented Dec 31, 2015

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

@fabrizioschiavi

This comment has been minimized.

Owner

fabrizioschiavi commented Dec 31, 2015

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

@olivertaylor

This comment has been minimized.

olivertaylor 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).

@Shirk

This comment has been minimized.

Shirk commented Mar 24, 2016

@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.

@olivertaylor

This comment has been minimized.

olivertaylor commented Mar 24, 2016

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

This comment has been minimized.

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