mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
Highlight previous user input (#2507)
Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
@@ -17,7 +17,15 @@ export const UserMessage: React.FC<UserMessageProps> = ({ text }) => {
|
|||||||
const prefixWidth = prefix.length;
|
const prefixWidth = prefix.length;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box flexDirection="row" marginY={1}>
|
<Box
|
||||||
|
borderStyle="round"
|
||||||
|
borderColor={Colors.Gray}
|
||||||
|
flexDirection="row"
|
||||||
|
paddingX={2}
|
||||||
|
paddingY={0}
|
||||||
|
marginY={1}
|
||||||
|
alignSelf="flex-start"
|
||||||
|
>
|
||||||
<Box width={prefixWidth}>
|
<Box width={prefixWidth}>
|
||||||
<Text color={Colors.Gray}>{prefix}</Text>
|
<Text color={Colors.Gray}>{prefix}</Text>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user