Do not skip the tests

This commit is contained in:
Alexander Farber 2025-12-09 16:46:18 +01:00
parent 06c398a015
commit 5b74422be6
No known key found for this signature in database
2 changed files with 7 additions and 9 deletions

View file

@ -834,9 +834,10 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
isOnCursorLine &&
cursorVisualColAbsolute === cpLen(lineText)
) {
// Add zero-width space after cursor to prevent Ink from trimming trailing whitespace
renderedLine.push(
<Text key={`cursor-end-${cursorVisualColAbsolute}`}>
{showCursor ? chalk.inverse(' ') : ' '}
{showCursor ? chalk.inverse(' ') + '\u200B' : ' \u200B'}
</Text>,
);
}