Ejemplo n.º 1
0
 public IList Read(long readCount)
 {
     if (Color == null)
     {
         if (RgbColorMode == RgbColorMode.Background)
         {
             return(new[] { "\u001B[49m" });
         }
         else
         {
             return(new[] { "\u001B[39m" });
         }
     }
     else
     {
         return(new[] { Color.ToVtEscapeSequence(RgbColorMode == RgbColorMode.Background) });
     }
 }