Skip to content

Bold doesn't work in Creator's Update Bash #2027

Closed

Description

@agocke

Repro: echo -e "text \033[1mbold\033[0m text"

This prints the following for me:

image

bold should actually be bold, not just another color in the color palette. It also shouldn't change the foreground color.

Microsoft Windows [Version 10.0.15063]

Activity

  1. sunjoong commented on Apr 27, 2017

    @sunjoong

    Andy Gocke (@agocke) - lt looks not bold but bright. Effect of code 1 is "Bold or increased intensity -- ANSI escape code".

  2. zadjii-msft commented on Apr 27, 2017

    @zadjii-msft
    Member

    Andy Gocke (@agocke) that's exactly right. We don't support proper bold at the moment, but the intensity works just fine for now. Like with all feature requests, it's already on the backlog :)

  3. agocke commented on Apr 27, 2017

    @agocke
    MemberAuthor

    Mike Griese (@zadjii-msft) How do you decide what "intensity" means in this context? It seems to pick a different color from the palette, i.e. I can actually change the color that is printed by bold and it can be completely different from the normal color.

    This is important because if I change the color scheme for my 8 foreground colors, what happens to my bold colors? It seems like sometimes nothing may happen, which means the bold colors show up as unreadable in my new color scheme.

  4. fpqc commented on Apr 28, 2017

    @fpqc

    Andy Gocke (@agocke) This is pretty standard for terminal emulators. The 'bright' colors are the second row of 8 colors in programs that have a sane color picking interface =p.

  5. agocke commented on Apr 28, 2017

    @agocke
    MemberAuthor

    Yeah, I think I screwed up the transcription from my .Xresources. Still, bold would be useful.

  6. dgilmour77 commented on Nov 14, 2017

    @dgilmour77

    This creates a bit of a trap for unwary users. I like black text on dark grey background, and when I set it, it looked great. Until I brought up a man page and it looked garbled and broken because I was unlucky that the bold color automatically chosen was the same as my background color - dark grey. At a minimum, the logic for choosing a bold color should be based not just on the foreground color but the foreground/background combination. Yeah, good luck with that ;-)

  7. bitcrazed commented on Feb 16, 2018

    @bitcrazed
    Contributor

    This issue was moved to microsoft/terminal#109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions