Skip to content

Commit

Permalink
Revert b16d661
Browse files Browse the repository at this point in the history
I was sure this would be an easy win but it made things worse somehow.
Related: #12
  • Loading branch information
lmg-anon authored Jan 22, 2024
1 parent b16d661 commit 7ab07e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mikupad.html
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,7 @@
key=${i}
data-promptchunk=${i}
className=${`${(!highlightGenTokens && !isCurrent) || chunk.type === 'user' ? 'user' : 'machine'} ${isCurrent ? 'current' : ''} ${isNextUndo ? 'erase' : ''}`}>
${(chunk.content === '\n' ? '\u00a0\n' : chunk.content) + (i === promptChunks.length - 1 && chunk.content.endsWith('\n') ? '\u00a0' : '')}
${(chunk.content === '\n' ? ' \n' : chunk.content) + (i === promptChunks.length - 1 && chunk.content.endsWith('\n') ? '\u00a0' : '')}
</span>`;
})}` : null}
</div>
Expand Down

0 comments on commit 7ab07e8

Please sign in to comment.