fix(ui): preventing empty history items from being added (#19014)

This commit is contained in:
Dev Randalpura
2026-02-18 12:53:06 -08:00
committed by GitHub
parent 758d419e33
commit 3099df1b7c
3 changed files with 98 additions and 11 deletions

View File

@@ -337,7 +337,7 @@ const RenderCodeBlockInternal: React.FC<RenderCodeBlockProps> = ({
const RESERVED_LINES = 2; // Lines reserved for the message itself and potential padding
// When not in alternate buffer mode we need to be careful that we don't
// trigger flicker when the pending code is to long to fit in the terminal
// trigger flicker when the pending code is too long to fit in the terminal
if (
!isAlternateBuffer &&
isPending &&