File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
packages/opencode/src/cli/cmd/tui/routes/session Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -213,24 +213,28 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
213213 < box flexDirection = "row" gap = { 1 } >
214214 < box backgroundColor = { other ( ) ? theme . backgroundElement : undefined } >
215215 < text fg = { other ( ) ? theme . secondary : input ( ) ? theme . success : theme . text } >
216- { options ( ) . length + 1 } . Other
216+ { options ( ) . length + 1 } . Type your own answer
217217 </ text >
218218 </ box >
219219 < text fg = { theme . success } > { input ( ) ? "✓" : "" } </ text >
220220 </ box >
221221 < Show when = { store . editing } >
222- < textarea
223- ref = { ( val : TextareaRenderable ) => ( textarea = val ) }
224- focused
225- placeholder = "Type your own answer"
226- textColor = { theme . text }
227- focusedTextColor = { theme . text }
228- cursorColor = { theme . primary }
229- keyBindings = { bindings ( ) }
230- />
222+ < box paddingLeft = { 3 } >
223+ < textarea
224+ ref = { ( val : TextareaRenderable ) => ( textarea = val ) }
225+ focused
226+ placeholder = "Type your own answer"
227+ textColor = { theme . text }
228+ focusedTextColor = { theme . text }
229+ cursorColor = { theme . primary }
230+ keyBindings = { bindings ( ) }
231+ />
232+ </ box >
231233 </ Show >
232234 < Show when = { ! store . editing && input ( ) } >
233- < text fg = { theme . textMuted } > { input ( ) } </ text >
235+ < box paddingLeft = { 3 } >
236+ < text fg = { theme . textMuted } > { input ( ) } </ text >
237+ </ box >
234238 </ Show >
235239 </ box >
236240 </ box >
You can’t perform that action at this time.
0 commit comments