mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
The TUI log view used an ItemsControl with 5000 max entries and no UI virtualization. Avalonia's composition renderer traverses the entire visual tree on each frame -- with thousands of TextBlock controls, the recursive Render/RenderCore calls exceed the thread stack size on constrained devices (especially ARM where each stack frame is larger due to ABI differences), causing a StackOverflowException in ServerCompositionContainerVisual.Render. Changes: - Enable VirtualizingStackPanel on the log ItemsControl so Avalonia only creates visuals for the rows currently in the viewport. - Add [Console.General] TUI_Log_Scrollback config option so users can control max log lines in TUI mode. Default is 0 (automatic: 3000 on x86/x64, 500 on ARM/ARM64). Made-with: Cursor |
||
|---|---|---|
| .. | ||
| AsciiArt | ||
| ConfigComments | ||
| Translations | ||
| AppIcon.ico | ||
| appicon_creeper1.ico | ||
| appicon_grassblock.ico | ||
| appicon_terminal.ico | ||
| en_us.json | ||
| MinecraftAssets.Designer.cs | ||
| MinecraftAssets.resx | ||