Bug: TUI doesn't pass directory to tui(), breaking session loading #9332

Open
opened 2026-02-16 18:12:12 -05:00 by yindo · 0 comments
Owner

Originally created by @olosegres on GitHub (Feb 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

When starting TUI, the directory parameter is not passed to the tui() function, which causes session loading to fail in certain scenarios.

The fix is straightforward - pass the cwd variable to tui() in thread.ts.

Originally created by @olosegres on GitHub (Feb 14, 2026). Originally assigned to: @rekram1-node on GitHub. When starting TUI, the `directory` parameter is not passed to the `tui()` function, which causes session loading to fail in certain scenarios. The fix is straightforward - pass the `cwd` variable to `tui()` in `thread.ts`.
yindo added the opentui label 2026-02-16 18:12:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9332