Re: Same number different colors for ctermbg and ctermfg

2023-06-08 Fir de Conversatie Bram Moolenaar
> On Wed, 24 May 2023 02:30:21 +0600 > Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Fri, 5 May 2023 22:18:07 +0600 > > Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > > On Fri, 05 May 2023 16:28:27 +0100 > > > Bram Moolenaar wrote: > > > > It's much more complicated than that. E.g. search f

Re: Same number different colors for ctermbg and ctermfg

2023-06-07 Fir de Conversatie Enan Ajmain
On Wed, 24 May 2023 02:30:21 +0600 Enan Ajmain <3nan.ajm...@gmail.com> wrote: > On Fri, 5 May 2023 22:18:07 +0600 > Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Fri, 05 May 2023 16:28:27 +0100 > > Bram Moolenaar wrote: > > > It's much more complicated than that. E.g. search for > > > "cterm_

Re: Same number different colors for ctermbg and ctermfg

2023-05-23 Fir de Conversatie Enan Ajmain
On Fri, 5 May 2023 22:18:07 +0600 Enan Ajmain <3nan.ajm...@gmail.com> wrote: > On Fri, 05 May 2023 16:28:27 +0100 > Bram Moolenaar wrote: > > It's much more complicated than that. E.g. search for "cterm_ansi_idx" > > in src/term.c, this is used specifically for MS-Windows. Thus if you > > use an

Re: Same number different colors for ctermbg and ctermfg

2023-05-05 Fir de Conversatie Enan Ajmain
On Fri, 05 May 2023 16:28:27 +0100 Bram Moolenaar wrote: > It's much more complicated than that. E.g. search for "cterm_ansi_idx" > in src/term.c, this is used specifically for MS-Windows. Thus if you > use an MS-Windows console and ssh to a Linux system this mapping is > missing and the colors

Re: Same number different colors for ctermbg and ctermfg

2023-05-05 Fir de Conversatie Bram Moolenaar
> On Fri, 05 May 2023 02:36:41 +0100 > Bram Moolenaar wrote: > > > > > For the value 7, ctermfg and ctermbg gives different colors. > > > > > 'ctermfg=7' gives non-bold white, which is expected. But > > > > > 'ctermbg=7' gives bold Black color. I'm assuming there is a > > > > > if-conditional

Re: Same number different colors for ctermbg and ctermfg

2023-05-05 Fir de Conversatie Enan Ajmain
On Fri, 05 May 2023 02:36:41 +0100 Bram Moolenaar wrote: > > > > For the value 7, ctermfg and ctermbg gives different colors. > > > > 'ctermfg=7' gives non-bold white, which is expected. But > > > > 'ctermbg=7' gives bold Black color. I'm assuming there is a > > > > if-conditional somewhere that

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Bram Moolenaar
> > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > > > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > > > Black color. I'm assuming there is a if-conditional somewhere that's > > > causing this distinction. If so, where is the conditional in

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
On Thu, 04 May 2023 15:48:43 +0100 Bram Moolenaar wrote: > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > > Black color. I'm assuming there is a if-conditional somewhere that's > > causing this

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Bram Moolenaar
> For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > Black color. I'm assuming there is a if-conditional somewhere that's > causing this distinction. If so, where is the conditional in the source > co

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
On Thu, 4 May 2023 12:38:52 +0200 Tony Mechelynck wrote: > [...] > (Of course in order to see something we cannot set both ctermbg=7 and > ctermfg=7 on the same highlight group). See the attached image. I agree with you: ctermbg and ctermfg, if set to the same numeric value, should show the same

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Tony Mechelynck
On Thu, May 4, 2023 at 12:14 PM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > Hi, > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > Black color. I'm assuming there is a if-conditional somewhere tha

Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
Hi, For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' gives non-bold white, which is expected. But 'ctermbg=7' gives bold Black color. I'm assuming there is a if-conditional somewhere that's causing this distinction. If so, where is the conditional in the source code? If