Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fish 3.2.0: __fish_print_pipestatus should unset bold mode where appropriate #7771

Copy link
Copy link

Description

@simonwhitaker
Issue body actions

Beginning in fish 3.2.0, when run with the default config, __fish_print_pipestatus now prints the pipe and closing brackets in bold. I tested this under sh -c 'env HOME=$(mktemp -d) fish' and can confirm that I get the same behaviour there:

Screenshot 2021-03-03 at 6 06 45 pm

$ __fish_print_pipestatus "[" "]" "|" (set_color red) (set_color --bold red) 9 9 | xxd
00000000: 1b5b 3331 6d5b 1b5b 316d 1b5b 3331 6d39  .[31m[.[1m.[31m9
00000010: 1b5b 3331 6d7c 1b5b 316d 1b5b 3331 6d39  .[31m|.[1m.[31m9
00000020: 1b5b 3331 6d5d 1b28 421b 5b6d            .[31m].(B.[m

My environment:

~ $ fish --version
fish, version 3.2.0
~ $ uname -a
Darwin Simons-MacBook-Pro-2.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
~ $ echo $TERM
xterm-256color
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that used to work, but was broken, especially between releasesSomething that used to work, but was broken, especially between releases

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.