node-columns
node-columns copied to clipboard
Stream your streams into column streams.
```js #!/usr/bin/env node var columns = require('columns').create(); var column1 = columns.addColumn('A1'); var column2 = columns.addColumn('A2'); var column3 = columns.addColumn('A3'); setInterval(function() { column1.clear(); column2.clear(); column3.clear(); column1.write('Lorem ipsum dolor sit amet\n'); column2.write('Lorem...
I need to write some tests, I think. :dancer: Might make development a tad easier. But if anyone is up for helping, tests are needed for each of the constructors...
Currently, columns that don't make it to the screen (because of their width) are hidden. Ideally one could navigate (scroll left/right) between the columns to reveal these hidden columns.
Planned ahead is the ability to navigate through column buffers (ie. up and down) and would be done through a method on the respective column view (ie. `scrollUp`/`scrollUp`). This may...