Eliminate code duplication in LayoutRenderer #7

Open
opened 2026-06-22 23:17:28 +02:00 by raupy · 0 comments
Owner

LayoutRenderer.render() and renderToString() contain ~40 identical lines for column resolution, dynamic border expansion, width calculation, and row building.

Fix: render() should delegate to renderToString().

LayoutRenderer.render() and renderToString() contain ~40 identical lines for column resolution, dynamic border expansion, width calculation, and row building. Fix: render() should delegate to renderToString().
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
raupy/console-utils#7
No description provided.