fix: round corners

This commit is contained in:
Nate 2025-07-13 16:22:04 -07:00
parent 423dbdd457
commit a08e2176a7

View file

@ -192,7 +192,7 @@ const TUIChat: React.FC<TUIChatProps> = ({
return ( return (
<Box key={index} marginBottom={1}> <Box key={index} marginBottom={1}>
<Text color={isUser ? "green" : "blue"} bold> <Text color={isUser ? "green" : "blue"} bold>
{isUser ? "You:" : "Assistant:"} ●
</Text> </Text>
<Text> {message.content}</Text> <Text> {message.content}</Text>
{message.isStreaming && <Text color="gray">▋</Text>} {message.isStreaming && <Text color="gray">▋</Text>}
@ -207,10 +207,10 @@ const TUIChat: React.FC<TUIChatProps> = ({
{messages.map(renderMessage)} {messages.map(renderMessage)}
</Box> </Box>
{/* Input area */} {/* Input area with rounded corners */}
<Box borderStyle="single" borderTop={true} paddingX={1}> <Box borderStyle="round" borderTop={true} paddingX={1}>
<Text color="green" bold> <Text color="green" bold>
You:{" "} ●{" "}
</Text> </Text>
{(() => { {(() => {
if (inputText.length === 0) { if (inputText.length === 0) {
@ -295,4 +295,4 @@ const TUIChat: React.FC<TUIChatProps> = ({
); );
}; };
export default TUIChat; export default TUIChat;