[PR #8854] fix(tui): show directory and git branch in session footer #12887

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

Original Pull Request: https://github.com/anomalyco/opencode/pull/8854

State: open
Merged: No


Fixes #7927 (partially)

Problem

The Footer component (shows directory + git branch) is imported but never rendered in the session view. Home screen shows it, but during an active session this info disappears.

Solution

Add <Footer /> after <Toast /> in the session layout (1 line change).

Visual Change (TUI)

Before - bottom of session screen:
Screenshot 2026-01-16 at 3 37 59 PM

After - bottom of session screen:
Screenshot 2026-01-16 at 3 37 49 PM

Tested locally with bun dev.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8854 **State:** open **Merged:** No --- Fixes #7927 (partially) ## Problem The `Footer` component (shows directory + git branch) is imported but never rendered in the session view. Home screen shows it, but during an active session this info disappears. ## Solution Add `<Footer />` after `<Toast />` in the session layout (1 line change). ## Visual Change (TUI) **Before** - bottom of session screen: <img width="2533" height="310" alt="Screenshot 2026-01-16 at 3 37 59 PM" src="https://github.com/user-attachments/assets/e051446a-ec67-415e-b309-30e76705ebb0" /> **After** - bottom of session screen: <img width="2543" height="316" alt="Screenshot 2026-01-16 at 3 37 49 PM" src="https://github.com/user-attachments/assets/cb4c04f3-8b35-4eff-90ca-2a651a55ded1" /> Tested locally with `bun dev`.
yindo added the pull-request label 2026-02-16 18:17:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12887