fix(status-line): wrapped overflow segments
Preserved configured segment priority by packing overflow into continuation rows. Extended EditorTopBorder to render ordered rows inside the editor frame. Fixes #5749
This commit is contained in:
@@ -183,7 +183,10 @@ export class SelectorController {
|
||||
getStatusLinePreview: () => {
|
||||
// Return the rendered status line for inline preview
|
||||
const availableWidth = this.ctx.editor.getTopBorderAvailableWidth(this.ctx.ui.terminal.columns);
|
||||
return this.ctx.statusLine.getTopBorder(availableWidth).content;
|
||||
return this.ctx.statusLine
|
||||
.getTopBorder(availableWidth)
|
||||
.lines.map(line => line.content)
|
||||
.join("\n");
|
||||
},
|
||||
onPluginsChanged: async () => {
|
||||
const projectPath = await resolveActiveProjectRegistryPath(this.ctx.sessionManager.getCwd());
|
||||
|
||||
Reference in New Issue
Block a user