Ejemplo n.º 1
0
 /// <summary>
 /// Disables focused background
 /// </summary>
 protected void MarkCurrentLine()
 {
     Write(ANSI.Move(0, currentScreenLine) + ANSI.WriteBackColor(FocusedBackground) +
           ANSI.ClearCurrentLine + Text[currentLine] + ANSI.WriteMode() + ANSI.RestoreCursorPosition);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Disables focused background
 /// </summary>
 protected void UnMarkCurrentLine()
 {
     Write(ANSI.Move(0, currentScreenLine));
     setColorLine(currentScreenLine);
     Write(ANSI.ClearCurrentLine + Text[currentLine]);
 }