Add CI workflow and fix workspace tests

This commit is contained in:
Peter Steinberger 2025-12-02 12:12:17 +00:00
parent 30f69c5f83
commit c43f1d307c
11 changed files with 192 additions and 51 deletions

View file

@ -179,7 +179,7 @@ function wrapSingleLine(line: string, width: number): string[] {
if (totalNeeded > width && currentVisibleLength > 0) {
// Wrap to next line - don't carry trailing whitespace
wrapped.push(currentLine);
wrapped.push(currentLine.trimEnd());
if (isWhitespace) {
// Don't start new line with whitespace
currentLine = tracker.getActiveCodes();