mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-30 03:54:59 +00:00
This commit is contained in:
parent
361a962673
commit
f24314438b
1 changed files with 4 additions and 0 deletions
|
|
@ -1042,6 +1042,10 @@ export function Session() {
|
|||
ref={(r) => {
|
||||
prompt = r
|
||||
promptRef.set(r)
|
||||
// Apply initial prompt when prompt component mounts (e.g., from fork)
|
||||
if (route.initialPrompt) {
|
||||
r.set(route.initialPrompt)
|
||||
}
|
||||
}}
|
||||
disabled={permissions().length > 0}
|
||||
onSubmit={() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue