Go to file
tforgione b9c31c2251 Update README.md 2023-11-06 11:36:34 +01:00
examples Beautiful scrollbars 2023-10-26 20:52:31 +02:00
screenshots Fix bug, adds readme 2023-11-06 11:33:15 +01:00
src Fix bug, adds readme 2023-11-06 11:33:15 +01:00
.gitignore Spawning commands 2023-10-18 23:16:03 +02:00
Cargo.lock Fix emoji length 2023-10-26 11:38:09 +02:00
Cargo.toml Fix emoji length 2023-10-26 11:38:09 +02:00
README.md Update README.md 2023-11-06 11:36:34 +01:00

README.md

multiview-rs

Run many commands and watch all outputs in a single terminal

multiview preview

Installation

If rust is not already installed, install rust.

Then run:

cargo install --git https://gitea.tforgione.fr/tforgione/multiview

Usage

Split your terminal in two rows, the first containing three columns, and the second containing one column:

multiview cmd1 :: cmd2 :: cmd3 // cmd4 :: cmd5

multiview row major preview

Split your terminal in two columns, the first containing three rows, and the second containing one row:

multiview cmd1 // cmd2 // cmd3 :: cmd4 // cmd5

multiview col major preview

Colors

Most well written programs will disable colors when running from multiview, in order to force them to use colors, you can use the unbuffer command from the expect package.

multiview unbuffer cmd1 :: unbuffer cmd2

Shortcuts

  • k: kills the current tile
  • K: kills all tiles
  • r: restarts the current tile
  • R: restarts all tiles
  • l: draw a line on the current tile
  • L: draw a line on all tiles
  • q: quits

Limitations

Don't resize your terminal... just don't 😢

History

This is my attempt to rewrite arjunmehta's multiview in rust.

Their version has many features that I don't use, but is missing a few things that I need:

  • line wrapping: when a line is bigger than the terminal size, the end is just not displayed
  • scroll: if your output has more lines than your terminal height, there is no way (to my knowledge) to scroll up