We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
opencode -c
1 parent 4477132 commit 00d7aedCopy full SHA for 00d7aed
packages/opencode/src/cli/cmd/tui/app.tsx
@@ -186,16 +186,13 @@ function App() {
186
})
187
188
189
+ let continued = false
190
createEffect(() => {
- if (sync.status !== "complete") return
191
- if (args.continue) {
192
- const match = sync.data.session.at(0)?.id
193
- if (match) {
194
- route.navigate({
195
- type: "session",
196
- sessionID: match,
197
- })
198
- }
+ if (continued || sync.status !== "complete" || !args.continue) return
+ const match = sync.data.session.at(0)?.id
+ if (match) {
+ continued = true
+ route.navigate({ type: "session", sessionID: match })
199
}
200
201
0 commit comments