TUI

Bearing TUI

A beautiful terminal user interface for browsing and managing worktrees, inspired by lazygit.

Bearing TUI Screenshot

Installation

The TUI is a separate Python package in the bearing-tui worktree.

cd ~/Projects/bearing-tui/tui
make install-dev

Usage

# Run from anywhere in your workspace (auto-detects workspace root)
bearing-tui

# Or specify workspace explicitly
BEARING_WORKSPACE=~/Projects bearing-tui

The TUI automatically walks up the directory tree to find the workspace root (the directory containing local.jsonl or workflow.jsonl).

Keybindings

Press ? for full keybinding help.

KeyAction
0 / 1 / 2Focus panel by number
j / Move down
k / Move up
h / Focus left panel
l / Focus right panel
TabNext panel
EnterSelect item
nNew worktree
cCleanup worktree
rRefresh data
dToggle daemon
?Show help
qQuit

Features

Implemented

Planned

Development

cd ~/Projects/bearing-tui/tui

# Install with dev dependencies
make install-dev

# Run the TUI
make run

# Run tests
make test

Testing

The TUI uses Textual’s testing framework for headless automated tests:

make test

Tests can simulate keypresses and verify widget state without rendering to a terminal.