mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
fix: terminal flicker when subagent is executing
This commit is contained in:
parent
5f90472a7d
commit
e552bc9609
5 changed files with 120 additions and 27 deletions
|
|
@ -35,7 +35,7 @@ interface HistoryItemDisplayProps {
|
|||
commands?: readonly SlashCommand[];
|
||||
}
|
||||
|
||||
export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({
|
||||
const HistoryItemDisplayComponent: React.FC<HistoryItemDisplayProps> = ({
|
||||
item,
|
||||
availableTerminalHeight,
|
||||
terminalWidth,
|
||||
|
|
@ -101,3 +101,7 @@ export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({
|
|||
{item.type === 'summary' && <SummaryMessage summary={item.summary} />}
|
||||
</Box>
|
||||
);
|
||||
|
||||
HistoryItemDisplayComponent.displayName = 'HistoryItemDisplay';
|
||||
|
||||
export const HistoryItemDisplay = React.memo(HistoryItemDisplayComponent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue