From 423dbdd457683260f66eda9024f35dee9c49d5db Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 13 Jul 2025 16:17:35 -0700 Subject: [PATCH] fix: allow multiple consecutive new lines --- src/ui/TUIChat.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 || " "} ))} );