A Terminal User Interface (TUI) package built with OpenTUI and React.
bun installRun the TUI in development mode:
bun run devRun the test suite:
bun testFor testing interactive CLI features, install tmux:
# macOS
brew install tmux
# Ubuntu/Debian
sudo apt-get install tmux
# Windows (via WSL)
wsl --install
sudo apt-get install tmuxThen run the proof-of-concept:
bun run test:tmux-pocNote: When sending input to the CLI via tmux, you must use bracketed paste mode. Standard send-keys drops characters.
# ❌ Broken: tmux send-keys -t session "hello"
# ✅ Works: tmux send-keys -t session $'\e[200~hello\e[201~'See tmux.knowledge.md for comprehensive tmux documentation and src/tests/README.md for testing documentation.
Build the package:
bun run buildRun the built TUI:
bun run startOr use the binary directly:
codebuff-tui- Built with OpenTUI for modern terminal interfaces
- Uses React for declarative component-based UI
- TypeScript support out of the box