feat(admin): auto-scroll terminal to bottom on log refreshes

This commit is contained in:
Rhefew
2026-07-14 12:55:04 +02:00
committed by Acentech Dev
parent f7f6526c16
commit f050e56e91

View File

@@ -226,6 +226,7 @@
this._selectedFile = new FileInfo(this._selectedFile.FullName); this._selectedFile = new FileInfo(this._selectedFile.FullName);
this._logLines = this.ReadLastLines(this._selectedFile.FullName, 300); this._logLines = this.ReadLastLines(this._selectedFile.FullName, 300);
this._shouldScrollToBottom = true;
} }
private List<string> ReadLastLines(string path, int maxLines) private List<string> ReadLastLines(string path, int maxLines)