Stop showing scrollbar unless we are in terminalBuffer mode (#25320)

This commit is contained in:
Jacob Richman
2026-04-13 12:26:45 -07:00
committed by GitHub
parent 95944ec5af
commit 82e8d67a78

View File

@@ -1836,7 +1836,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
height={Math.min(buffer.viewportHeight, scrollableData.length)}
width="100%"
>
{isAlternateBuffer ? (
{config.getUseTerminalBuffer() ? (
<ScrollableList
ref={listRef}
hasFocus={focus}