mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Implement console chat visibility controls
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/159bd460-7950-4afe-9e69-4892220665e1 Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
This commit is contained in:
parent
9c994de2ee
commit
7bf342baab
14 changed files with 226 additions and 2 deletions
|
|
@ -268,6 +268,12 @@ namespace MinecraftClient.Tui
|
|||
ScheduleScrollToEnd();
|
||||
}
|
||||
|
||||
public void ClearLog()
|
||||
{
|
||||
_logLines.Clear();
|
||||
_logControls.Clear();
|
||||
}
|
||||
|
||||
private void TrimLog()
|
||||
{
|
||||
while (_logLines.Count > MaxLogLines)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue