Thanks Kurtis! One tricky thing is that after making the changes I needed
to quit out of tmux and open a new terminal window before I could see the
effect. Just sharing this for others.

On Fri, Sep 22, 2017 at 3:16 PM, Kurtis Rader <kra...@skepticism.us> wrote:

> On Fri, Sep 22, 2017 at 1:10 PM, Kurtis Rader <kra...@skepticism.us>
> wrote:
>
>> On Thu, Sep 21, 2017 at 6:20 AM, Mark Volkmann <r.mark.volkm...@gmail.com
>> > wrote:
>>
>>> Is it possible to get "set_color --dim" to work on macOS?
>>> It was quite a battle to get --italic to work, but I'm past that.
>>> I just want to verify that it is possible to get --dim working before I
>>> expend any more effort.
>>>
>>
>> Your terminal and its terminfo definition have to support it. If you run
>>
>> infocmp -1L | grep enter_dim_mode
>>
>> and get no output then your terminfo doesn't support it and therefore
>> fish can't either. Note that xterm doesn't support dim mode so the usual
>> xterm terminfo definitions don't either. Both Terminal.app and iTerm2
>> support dim mode but if you're using a xterm terminfo definition (e.g.,
>> "xterm-256color") then fish doesn't know the terminal supports it. You'll
>> need to create a custom terminfo definition that includes
>> "enter_dim_mode=\E[2m".
>>
>
> Correction, the terminfo entry should be "dim=\E[2m,". The string
> "enter_dim_mode" is what a program like fish uses to retrieve the dim
> capability string.
>
> --
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank
>



-- 
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to