feat(ui): add solid background color option for input prompt (#16563)

Co-authored-by: Alexander Farber <farber72@outlook.de>
This commit is contained in:
Jacob Richman
2026-01-26 15:23:54 -08:00
committed by GitHub
parent 7fbf470373
commit b5fe372b5b
40 changed files with 898 additions and 420 deletions

View File

@@ -34,13 +34,10 @@ export const DefaultAppLayout: React.FC = () => {
useFlickerDetector(rootUiRef, terminalHeight);
// If in alternate buffer mode, need to leave room to draw the scrollbar on
// the right side of the terminal.
const width = isAlternateBuffer
? uiState.terminalWidth
: uiState.mainAreaWidth;
return (
<Box
flexDirection="column"
width={width}
width={uiState.terminalWidth}
height={isAlternateBuffer ? terminalHeight : undefined}
paddingBottom={isAlternateBuffer ? 1 : undefined}
flexShrink={0}
@@ -55,6 +52,7 @@ export const DefaultAppLayout: React.FC = () => {
ref={uiState.mainControlsRef}
flexShrink={0}
flexGrow={0}
width={uiState.terminalWidth}
>
<Notifications />
<CopyModeWarning />
@@ -63,7 +61,7 @@ export const DefaultAppLayout: React.FC = () => {
uiState.customDialog
) : uiState.dialogsVisible ? (
<DialogManager
terminalWidth={uiState.mainAreaWidth}
terminalWidth={uiState.terminalWidth}
addItem={uiState.historyManager.addItem}
/>
) : (