3 releases
0.1.2 | Nov 15, 2023 |
---|---|
0.1.1 | Nov 6, 2023 |
0.1.0 | Nov 6, 2023 |
#483 in Operating systems
70KB
966 lines
tileview
Run tiled commands in a single terminal
Installation
If rust is not already installed, install rust.
Then run:
cargo install tileview
Usage
Split your terminal in two rows, the first containing three columns, and the second containing one column:
tileview cmd1 :: cmd2 :: cmd3 // cmd4 :: cmd5
Split your terminal in two columns, the first containing three rows, and the second containing one row:
tileview cmd1 // cmd2 // cmd3 :: cmd4 // cmd5
Colors
Most well written programs will disable colors when running from tileview, in order to force them to use colors, you
can use the unbuffer
command from the expect
package.
tileview unbuffer cmd1 :: unbuffer cmd2
Shortcuts
k
: kills the current tileK
: kills all tilesr
: restarts the current tileR
: restarts all tilesl
: draw a line on the current tileL
: draw a line on all tilesq
: quits
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
Dependencies
~3–11MB
~134K SLoC