Skip to content

Commit ad27427

Browse files
committed
use min/maxHeight for question textarea
1 parent 88bcd04 commit ad27427

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/opencode/src/cli/cmd/tui/routes/session

packages/opencode/src/cli/cmd/tui/routes/session/question.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
366366
}}
367367
initialValue={input()}
368368
placeholder="Type your own answer"
369+
minHeight={1}
370+
maxHeight={6}
369371
textColor={theme.text}
370372
focusedTextColor={theme.text}
371373
cursorColor={theme.primary}

0 commit comments

Comments
 (0)