Skip to content

Commit

Permalink
Console buffer adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed May 7, 2020
1 parent 55e89c6 commit c28bdcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ScreenCast.Core/Services/ChatHostService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ private async Task ReadFromStream()
Console.Write($"{split[0]}: ");
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine(split[1]);
Console.MoveBufferArea(0, top, Console.BufferWidth, Console.CursorTop - top - 1, 0, Console.CursorTop + 1);
Console.SetCursorPosition(left, Console.CursorTop + 1);
MaxCursorTop = Console.CursorTop;
Console.SetCursorPosition(left, top);
}
}

Expand Down

0 comments on commit c28bdcf

Please sign in to comment.