diff --git a/src/ui/TUIChat.tsx b/src/ui/TUIChat.tsx index 5940f6074..6a3f9cbfb 100644 --- a/src/ui/TUIChat.tsx +++ b/src/ui/TUIChat.tsx @@ -266,8 +266,8 @@ const TUIChat: React.FC = ({ ); } else { - // Regular line - return {line}; + // Regular line - ensure empty lines still render + return {line || " "}; } })} @@ -277,7 +277,7 @@ const TUIChat: React.FC = ({ return ( {inputText.split("\n").map((line, index) => ( - {line} + {line || " "} ))} );