Minecraft-Console-Client/MinecraftClient/Tui
BruceChen 512445cb1d fix: prevent TUI StackOverflowException from excessive log controls
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
2026-04-03 03:17:53 +08:00
..
BrewingStandView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
ContainerViewBase.cs TUI support for more container 2026-03-28 02:18:11 +08:00
ContainerViewModel.cs TUI support for more container 2026-03-28 02:18:11 +08:00
CraftingView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
EnchantingTableView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
FurnaceView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
GridContainerView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
GrindstoneView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
HopperView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
IconGridBuilder.cs Add icon banner display option and refactor startup banner logic 2026-03-31 00:03:29 +08:00
InventoryApp.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryMainView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryTuiHost.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryViewModel.cs TUI support for more container 2026-03-28 02:18:11 +08:00
MainTuiView.cs fix: prevent TUI StackOverflowException from excessive log controls 2026-04-03 03:17:53 +08:00
MccBannerPanelBuilder.cs Refactor color definitions in MccBannerPanelBuilder for improved clarity 2026-03-31 00:03:29 +08:00
McColorParser.cs Add server status display and protocol version upgrade handling 2026-03-30 01:39:37 +08:00
MccTuiApp.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
MinimapBlockColors.json Minimap support 2026-03-29 19:53:50 +08:00
MinimapColorMap.cs Cave mode for minimap 2026-03-31 01:28:24 +08:00
MinimapControl.cs Cave mode for minimap 2026-03-31 01:28:24 +08:00
MinimapEntityCategories.json Minimap support 2026-03-29 19:53:50 +08:00
MinimapEntityClassifier.cs Minimap support 2026-03-29 19:53:50 +08:00
ServerStatusPanelBuilder.cs Add icon banner display option and refactor startup banner logic 2026-03-31 00:03:29 +08:00
SlotViewModel.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
TuiConsoleBackend.cs Implement startup state management and enhance configuration loading 2026-03-27 00:30:52 +08:00
TuiTooltipService.cs Add tooltip service and integrate with MinimapControl 2026-03-29 19:53:50 +08:00