mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-13 09:01:54 +00:00
chore(tui): prettier whitespace on files touched in this branch
This commit is contained in:
parent
93b4080b78
commit
450ded98db
2 changed files with 4 additions and 10 deletions
|
|
@ -53,7 +53,9 @@ export function ApprovalPrompt({ onChoice, req, t }: ApprovalPromptProps) {
|
|||
))}
|
||||
|
||||
{overflow > 0 ? (
|
||||
<Text color={t.color.dim}>… +{overflow} more line{overflow === 1 ? '' : 's'} (full text above)</Text>
|
||||
<Text color={t.color.dim}>
|
||||
… +{overflow} more line{overflow === 1 ? '' : 's'} (full text above)
|
||||
</Text>
|
||||
) : null}
|
||||
</Box>
|
||||
|
||||
|
|
|
|||
|
|
@ -483,15 +483,7 @@ export function TextInput({
|
|||
return
|
||||
}
|
||||
|
||||
if (
|
||||
k.upArrow ||
|
||||
k.downArrow ||
|
||||
k.tab ||
|
||||
(k.shift && k.tab) ||
|
||||
k.pageUp ||
|
||||
k.pageDown ||
|
||||
k.escape
|
||||
) {
|
||||
if (k.upArrow || k.downArrow || k.tab || (k.shift && k.tab) || k.pageUp || k.pageDown || k.escape) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue