# Changelog

All notable changes to hollywood are documented here.

The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.3.0] - 2026-11-17

### Changed
- **The show no longer rebuilds itself.** Until now all panes but one were closed and
  dealt again every ten seconds - whatever one had selected, resized, zoomed or opened was
  gone each time. Now one pane at a time gets another widget, every 15 seconds, in place:
  the layout, the sizes and the selection stay. The pane that has shown its widget longest
  goes first; the selected one is left alone as long as there is another.
- `+` adds one pane (the largest is halved) and `-` takes the newest away. Neither touches
  the other panes, and `-` does not ban a widget.
- `r` allows closed widgets again without rebuilding the screen.
- `n` still builds the whole screen anew - on request only.

### Added
- **Keep a pane** with `k`: it is marked `[kept]`, is never swapped and survives `n`.
- **Swap a pane now** with `s`: another widget in the selected pane.
- `-r`, `--redeal` brings back the old behaviour: the whole screen anew every `-d` seconds.
- Closing the terminal window (SIGHUP) cleans up like Ctrl-C does.

## [1.2.0] - 2026-11-17

### Added
- **A toolbar instead of a line of hints.** Every control is a button at the bottom of the
  window that can be clicked: close, open, deal, pause, zoom, fewer and more panes, help,
  quit. Beside them the bar says what the show is doing: the seconds until the next deal,
  *paused*, or *zoomed*.
- **Every pane carries the name of its widget** on its top border; the selected pane's
  name is highlighted.
- **Zoom:** a double click or `z` shows one pane alone, the same again brings all back.
  The clock stands still while a pane is zoomed.
- **Open a widget of your choice:** `a` lists all twenty, marked with what is on screen
  and what was closed; picking one starts it in a new pane at once.
- **Bring closed widgets back:** `r`, or the button that appears once something was closed.
- **A menu on the right mouse button** for the pane under the pointer: close, zoom, open,
  deal, pause, bring back, quit.
- **Panes can be resized** by dragging their borders.
- `?` opens the keys in a window of their own.

### Changed
- A right click opens the pane's menu; in 1.1.0 it closed the pane at once.
- The clickable toolbar needs tmux 3.4 or newer; with an older tmux the keys still work.

### Fixed
- The key-art stand-in for `speedometer` drew bars two cells too wide for its pane.

## [1.1.0] - 2026-11-17

### Added
- **The show can be steered.** A status line at the bottom names the keys:

  | Input | What it does |
  |---|---|
  | click on a pane | select it |
  | `x`, or a right click on a pane | close that pane - its widget stays away for the rest of the show |
  | `n` | deal the panes again now |
  | `p` or space | pause the automatic dealing, and resume it |
  | `+` `-` | one pane more or fewer |
  | `?` | show the keys |
  | `q` | quit (Ctrl-C still works) |

- A widget that is on screen is not dealt a second time into another pane.

### Changed
- The controls live in a tmux key table of their own, which only the session that
  hollywood creates uses, and tmux's mouse support is switched on there only. A show
  started inside a tmux session of yours changes neither and therefore has no controls.
- The keys above no longer reach the programs in the panes (`q` in `htop`, for one).

## [1.0.1] - 2026-11-16

### Changed
- The key-art widget gives its throw-away key the comment `hollywood`. Without it
  `ssh-keygen` used `user@host`, so every key fingerprint on screen - and every
  screenshot of it - carried the name of the user and the machine.

### Fixed
- `tools/screenshots.sh` waits until a pane really shows something before it takes the
  picture, and no longer photographs the sound-wave widget, whose dark stretches came out
  as an empty pane.

## [1.0.0] - 2026-11-16

First release of the macOS port. It is based on
[hollywood 1.27](https://github.com/dustinkirkland/hollywood) by Dustin Kirkland;
the version numbers of this project are its own.

### Added
- **Runs on macOS.** Every widget sources `share/hollywood/compat.sh`, which replaces
  what only Linux has: `/sys` and `/proc/net/route`, `find -readable`, the output of
  `stat`, and the default network interface. On Linux the widgets use the same paths
  and options as upstream.
- **Stand-ins for tools Homebrew does not ship**, in `share/hollywood/shims/`:
  `ccze` (colours log-like text), `apg` (a pronounceable password with its spelling),
  `speedometer` (network throughput from the interface counters), `atop` (hands over
  to `top`) and `batcat` (hands over to `bat`). They are appended to `PATH`, so a
  real installation always wins.
- `hollywood --version`.
- Homebrew formula (`brew install pepperonas/tap/hollywood`), `install.sh`, a release
  archive with checksums, and a test suite that runs on macOS and Linux.

### Changed
- **Ctrl-C ends the show cleanly.** Upstream ran `pkill -9 -f lib/hollywood/`, which
  also killed every other process that merely had that path on its command line - an
  editor with a widget open, for one. Widgets now close the tmux window they live in.
- The launcher tracks the widget window by its tmux id. After the window was gone,
  upstream addressed the session by name, hit the shell it was started from and
  filled that with widgets again.
- The tmux session is closed on exit only if hollywood created it; started inside an
  existing session, it leaves that session alone.
- An unknown option is a usage error (exit 2) instead of opening the man page.
- The picture widget handles paths with spaces; the man-page widget knows
  uncompressed page names (`ls.1`, `perl.1m`).

### Removed
- `wallstreet` - it is its own project now:
  [pepperonas/wallstreet](https://github.com/pepperonas/wallstreet).
- The Debian and snap packaging. For Debian and Ubuntu, use upstream's package.
