(theme: Theme, directory: string, width: number)
| 146 | } |
| 147 | |
| 148 | function buildLeftColumn(theme: Theme, directory: string, width: number): ColumnLine[] { |
| 149 | const lines: ColumnLine[] = [] |
| 150 | lines.push({ text: "", color: theme.secondary }) |
| 151 | lines.push({ text: "Welcome back!", color: theme.primary, bold: true }) |
| 152 | lines.push({ text: "", color: theme.secondary }) |
| 153 | lines.push({ text: "", color: theme.secondary }) |
| 154 | lines.push({ text: `Arctic v${Installation.VERSION}`, color: theme.secondary }) |
| 155 | lines.push({ text: `${Installation.CHANNEL} channel`, color: theme.info }) |
| 156 | lines.push({ text: "", color: theme.secondary }) |
| 157 | lines.push({ text: "Workspace", color: theme.primary, bold: true }) |
| 158 | for (const line of wrapPlainText(directory, width)) { |
| 159 | lines.push({ text: line, color: theme.secondary }) |
| 160 | } |
| 161 | return lines |
| 162 | } |
| 163 | |
| 164 | function buildRightColumn(theme: Theme, width: number, recents: RecentSessionSummary[]): ColumnLine[] { |
| 165 | const lines: ColumnLine[] = [] |
no test coverage detected