Skip to main content
The wit terminal UI provides a full-featured interface without leaving your terminal.

Launch

Interface Layout

Keyboard Controls

Actions

Commit Dialog

When you press c:
  1. Type your commit message
  2. Press Ctrl+Enter to commit
  3. Press Escape to cancel

Panels

Status Panel (Left)

Shows:
  • Staged files (ready to commit)
  • Unstaged modifications
  • Untracked files

Diff Panel (Right)

Shows:
  • Diff for the selected file
  • Syntax highlighted
  • Scroll with arrow keys

Branch Panel

Press s to open:
  • List of local branches
  • Current branch highlighted
  • Select and press Enter to switch

Workflow Example

  1. Launch TUI:
  2. Navigate: Use arrow keys to select files
  3. Stage: Press a to stage selected file
  4. View diff: Press Tab to see changes
  5. Commit: Press c, type message, Ctrl+Enter
  6. Switch branch: Press s, select branch, Enter
  7. Quit: Press q

Features

File Status Colors

  • 🟢 Green: Staged
  • 🟡 Yellow: Modified
  • 🔴 Red: Deleted
  • ⚪ Gray: Untracked

Diff View

  • + lines: Added (green)
  • - lines: Removed (red)
  • Context lines: Normal

Branch Switching

The TUI shows:
  • Branch list
  • Current branch marker
  • Uncommitted changes warning

Advantages

  • Works over SSH: Perfect for remote development
  • Keyboard-driven: Fast for touch typists
  • Low overhead: Lightweight compared to web UI
  • Always available: No browser needed

Customization

The TUI respects your terminal theme. For best results:
  • Use a terminal with 256 colors
  • Use a monospace font
  • Ensure UTF-8 support

Troubleshooting

Ensure your terminal supports:
  • UTF-8 encoding
  • 256 colors
  • Minimum 80x24 size
Some terminals intercept keys. Try:
  • Different terminal emulator
  • Check terminal settings
Set your TERM variable: