Coder Social home page Coder Social logo

tileview's Introduction

tileview

Run tiled commands in a single terminal

tileview preview

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

tileview row major preview

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

tileview cmd1 // cmd2 // cmd3 :: cmd4 // cmd5

tileview col major preview

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 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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.