Files
micronomicon/backend/uframe/borders.py
2026-04-01 10:13:14 +02:00

20 lines
667 B
Python

"""Border merging post-pass (currently no-op).
The draw_border and _paint_table functions produce correct border characters
directly. The original merge pass caused garbled junctions when borders from
different boxes were adjacent, so it was disabled.
If future features need cross-box junction merging (e.g. tables sharing
edges with parent boxes), add targeted logic here using border_id from
the grid cells to only merge within the same border group.
"""
from __future__ import annotations
from uframe.grid import CharGrid
def merge_borders(grid: CharGrid) -> None:
"""No-op — borders are correctly painted by draw_border and _paint_table."""
pass