mirror of
https://github.com/tiennm99/ccstatusline.git
synced 2026-10-14 04:15:51 +00:00
Merge commit '6cd32a5b82cd5ed27e698860f5ca8421a94548d9'. Closes #52
This commit is contained in:
commit
9e97e003d3
1 file changed
+3
@@ -655,6 +655,9 @@ export function renderStatusLine(
|
||||
|
||||
// Handle separators specially (they're not widgets)
|
||||
if (widget.type === 'separator') {
|
||||
if (i > 0 && !preRenderedWidgets[i - 1]?.content)
|
||||
continue;
|
||||
|
||||
const sepChar = widget.character ?? (settings.defaultSeparator ?? '|');
|
||||
const formattedSep = formatSeparator(sepChar);
|
||||
|
||||
|
||||
Reference in new issue
Block a user