@pi-archimedes/core 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-archimedes/core",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -240,7 +240,8 @@ export function formatColumns(sections: RenderSection[], theme: Theme, maxW: num
240
240
  const currentW = visibleWidth(currentLine);
241
241
 
242
242
  if (currentLine && currentW + 2 + itemW > availableW) {
243
- lines.push(firstLine ? `${paddedHeader} ${currentStyled}` : " ".repeat(headerW + 1) + currentStyled);
243
+ const rawLine = firstLine ? `${paddedHeader} ${currentStyled}` : " ".repeat(headerW + 1) + currentStyled;
244
+ lines.push(clampLine(rawLine, maxW));
244
245
  currentLine = item;
245
246
  currentStyled = styleItem(item);
246
247
  firstLine = false;