fix(tui): keep thinking color theme-neutral
This commit is contained in:
@@ -646,22 +646,22 @@ export const Thinking = memo(function Thinking({
|
||||
{preview ? (
|
||||
mode === 'full' ? (
|
||||
lines.map((line, index) => (
|
||||
<Text color={t.color.cornsilk} key={index} wrap="wrap-trim">
|
||||
<Text color={t.color.dim} key={index} wrap="wrap-trim">
|
||||
{line || ' '}
|
||||
{index === lines.length - 1 ? (
|
||||
<StreamCursor color={t.color.cornsilk} streaming={streaming} visible={active} />
|
||||
<StreamCursor color={t.color.dim} streaming={streaming} visible={active} />
|
||||
) : null}
|
||||
</Text>
|
||||
))
|
||||
) : (
|
||||
<Text color={t.color.cornsilk} wrap="truncate-end">
|
||||
<Text color={t.color.dim} wrap="truncate-end">
|
||||
{preview}
|
||||
<StreamCursor color={t.color.cornsilk} streaming={streaming} visible={active} />
|
||||
<StreamCursor color={t.color.dim} streaming={streaming} visible={active} />
|
||||
</Text>
|
||||
)
|
||||
) : (
|
||||
<Text color={t.color.cornsilk}>
|
||||
<StreamCursor color={t.color.cornsilk} streaming={streaming} visible={active} />
|
||||
<Text color={t.color.dim}>
|
||||
<StreamCursor color={t.color.dim} streaming={streaming} visible={active} />
|
||||
</Text>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user