[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

wip: still borked but saving my progress

James Garbutt (Nov 21, 2025, 10:09 AM UTC) 50c3e7f8 30394801

+6 -1
+6 -1
packages/core/src/component.ts
··· 38 38 for (let i = 0; i < toLineCount; i++) { 39 39 const fromLine = fromLines[i]; 40 40 const toLine = toLines[i]; 41 + const nextFromLine = fromLines[i + 1]; 41 42 42 43 if (fromLine === toLine) { 43 44 output.write(cursor.down(1)); ··· 46 47 output.write(erase.line); 47 48 } 48 49 if (toLine !== undefined) { 49 - output.write(`${toLine}\n`); 50 + output.write(toLine); 51 + } 52 + if (i < toLineCount - 1 && nextFromLine === undefined) { 53 + output.write('\n'); 50 54 } else { 55 + output.write(cursor.left); 51 56 output.write(cursor.down(1)); 52 57 } 53 58 }