Skip to content

bmux v0.7.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 23:50
· 40 commits to main since this release

Worktree groups in the sidebar, output that scrolls 6.6× faster, and nine terminal fixes.

curl -fsSL https://raw.githubusercontent.com/bmux-dev/bmux/main/install.sh | sh

or, with Go 1.26+:

go install github.com/josephferrero/bmux/cmd/bmux@v0.7.2

New

  • Worktree groups. Sessions in a git worktree show under their main repository in the sidebar, the session picker and the Projects tab, wherever the worktree lives, with each session's branch. bmux finds the main repository from the worktree's .git file, so there's nothing to configure. The Projects tab also lists worktrees outside projects.roots. ui.show-branch = false hides the branches (#149).

Changed

  • Faster output. Printing a million lines now takes 1.8 seconds instead of 12. Each new line used to copy the whole screen up a row, and once history was full, shift all of it too; now bmux moves whole rows and clears only the new one. Builds, test runs, logs and cat of a large file all benefit (#161).
  • Sidebar clicks. A single click on a session or agent row opens it, like Enter (#159).

Fixed

  • reset now resets the terminal. bmux ignored the soft reset it sends (DECSTR), so scroll margins, origin mode, insert mode and a hidden cursor left behind by a program stayed in place (#136).
  • Insert mode (CSI 4 h) pushes the rest of the line right instead of overwriting it. xterm-256color's terminfo advertises it, so ncurses programs use it (#145).
  • The original alternate screen (mode 47) switches screens, so programs that use it no longer draw over your shell (#144).
  • NEL (ESC E) starts a new line (#139).
  • ED 1 no longer erases past the cursor, and ED 3 clears only scrollback, as in xterm (#140, #141).
  • CSI u restores the cursor that CSI s saved (#142).
  • Origin mode: cursor moves and position reports are relative to the margins, changing the mode moves the cursor home, and turning off left/right margins drops them (#143, #146, #147).
  • A scroll region taller than the pane can no longer put the cursor off screen (#134).

Under the hood

  • Fuzz tests feed random input to the terminal emulator, image commands, session requests, config files, key names, formats and command-line targets (#133).
  • scripts/esctest.sh runs the esctest conformance suite inside a bmux pane: 300 tests pass, up from 96 (#137).
  • scripts/compare-tmux.py measures keystroke latency, output speed and memory against tmux (#152).

Upgrading: the protocol is still version 10, so a running v0.7.x or v0.6.0 server keeps working with the new client. The faster output and the terminal fixes are in the server, so run bmux restart to get them: it saves your sessions, starts the new server and restores them. Programs running in panes end; sessions, windows, layouts, directories and agent conversations come back.