mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 10:10:56 -07:00
feat(cli): finalize thinking UI with white unindented Thinking text
This commit is contained in:
@@ -131,15 +131,14 @@ export const ThinkingMessage: React.FC<ThinkingMessageProps> = ({
|
||||
);
|
||||
|
||||
const fullSummaryDisplayLines = useMemo(
|
||||
() => (fullLines.length > 0 ? wrapLineToWidth(fullLines[0], contentWidth) : []),
|
||||
() =>
|
||||
fullLines.length > 0 ? wrapLineToWidth(fullLines[0], contentWidth) : [],
|
||||
[fullLines, contentWidth],
|
||||
);
|
||||
|
||||
const fullBodyDisplayLines = useMemo(
|
||||
() =>
|
||||
fullLines
|
||||
.slice(1)
|
||||
.flatMap((line) => wrapLineToWidth(line, contentWidth)),
|
||||
fullLines.slice(1).flatMap((line) => wrapLineToWidth(line, contentWidth)),
|
||||
[fullLines, contentWidth],
|
||||
);
|
||||
|
||||
@@ -163,7 +162,7 @@ export const ThinkingMessage: React.FC<ThinkingMessageProps> = ({
|
||||
<>
|
||||
<Text color={theme.text.primary} italic>
|
||||
{' '}
|
||||
Thinking...
|
||||
Thinking...{' '}
|
||||
</Text>
|
||||
<Box flexDirection="row">
|
||||
<Box width={THINKING_LEFT_PADDING} />
|
||||
|
||||
Reference in New Issue
Block a user