Skip to content
Snippets Groups Projects
  1. Mar 09, 2018
  2. Feb 26, 2018
  3. Dec 26, 2017
    • Benno Fünfstück's avatar
      Fix color with FAINT attribute · 1f24bde8
      Benno Fünfstück authored
      The alpha value needs to be initialized as well.
      1f24bde8
    • Benno Fünfstück's avatar
      Apply ATTR_REVERSE after ATTR_FAINT · e829e13b
      Benno Fünfstück authored
      An example where the new behaviour makes more sense:
      
      Suppose some text is formatted with ATTR_FAINT for red for the foreground, so it
      is rendered in a dark red. In that case, when selected with the mouse, the
      intended behaviour is that foreground and background color are swapped: so the
      selection should be rendered in dark red and the text in the default background
      color.
      
      Before this patch, what happened was that the selection would be in normal red
      and the text in the darkened background color, making it almost unreadable.
      
      For an example application that uses the FAINT attribute, try dmesg from
      util-linux with color support, it uses FAINT for segfault messages.
      e829e13b
  4. Dec 21, 2017
  5. Oct 10, 2017
  6. Sep 15, 2017
Loading