mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
fix(tui): keep live progress visible while scrolling
This commit is contained in:
parent
e16e196c7e
commit
5ac4088856
1 changed files with 10 additions and 9 deletions
|
|
@ -110,6 +110,16 @@ const TranscriptPane = memo(function TranscriptPane({
|
||||||
<>
|
<>
|
||||||
<ScrollBox flexDirection="column" flexGrow={1} flexShrink={1} ref={transcript.scrollRef} stickyScroll>
|
<ScrollBox flexDirection="column" flexGrow={1} flexShrink={1} ref={transcript.scrollRef} stickyScroll>
|
||||||
<Box flexDirection="column" paddingX={1}>
|
<Box flexDirection="column" paddingX={1}>
|
||||||
|
<StreamingAssistant
|
||||||
|
busy={ui.busy}
|
||||||
|
cols={composer.cols}
|
||||||
|
compact={ui.compact}
|
||||||
|
detailsMode={ui.detailsMode}
|
||||||
|
progress={progress}
|
||||||
|
sections={ui.sections}
|
||||||
|
t={ui.theme}
|
||||||
|
/>
|
||||||
|
|
||||||
{transcript.virtualHistory.topSpacer > 0 ? <Box height={transcript.virtualHistory.topSpacer} /> : null}
|
{transcript.virtualHistory.topSpacer > 0 ? <Box height={transcript.virtualHistory.topSpacer} /> : null}
|
||||||
|
|
||||||
{transcript.virtualRows.slice(transcript.virtualHistory.start, transcript.virtualHistory.end).map(row => (
|
{transcript.virtualRows.slice(transcript.virtualHistory.start, transcript.virtualHistory.end).map(row => (
|
||||||
|
|
@ -137,15 +147,6 @@ const TranscriptPane = memo(function TranscriptPane({
|
||||||
|
|
||||||
{transcript.virtualHistory.bottomSpacer > 0 ? <Box height={transcript.virtualHistory.bottomSpacer} /> : null}
|
{transcript.virtualHistory.bottomSpacer > 0 ? <Box height={transcript.virtualHistory.bottomSpacer} /> : null}
|
||||||
|
|
||||||
<StreamingAssistant
|
|
||||||
busy={ui.busy}
|
|
||||||
cols={composer.cols}
|
|
||||||
compact={ui.compact}
|
|
||||||
detailsMode={ui.detailsMode}
|
|
||||||
progress={progress}
|
|
||||||
sections={ui.sections}
|
|
||||||
t={ui.theme}
|
|
||||||
/>
|
|
||||||
</Box>
|
</Box>
|
||||||
</ScrollBox>
|
</ScrollBox>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue