fix(cli): collapse input area during approvals and selector overlays (#776)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-02-01 17:21:49 -08:00
committed by GitHub
parent 5598c09d08
commit 44da9bb1db
2 changed files with 78 additions and 63 deletions

View File

@@ -10076,6 +10076,9 @@ Plan file path: ${planFilePath}`;
bashRunning={bashRunning}
onBashInterrupt={handleBashInterrupt}
inputEnabled={inputEnabled}
collapseInputWhenDisabled={
pendingApprovals.length > 0 || anySelectorOpen
}
permissionMode={uiPermissionMode}
onPermissionModeChange={handlePermissionModeChange}
onExit={handleExit}