displayit's People
displayit's Issues
Implement: reading default options as-per '~/.displayrc'
Interaction with the display-wrapper
Be able to interact by either:
/ [search-string]
> [change the executing cmd]
Arg: --watch
Monitor a specific file for changes.
e.g.
This would be useful when displaying a matplotlib-generated plot.
Arg: (default behavior) --tmux-mode
Fix: handle stderr in the same way stdout is
stderr will not be caught or checked for change, and so will be plopped continuously to the screen
Default behavior: color stderr red
Can use the logic of file-descriptor swapping.
Arg: --filter out lines containing a regex
Similar to the '/' command, only dont highlight, but "delete" the incoming lines.
The purpose of this is to simplify the output for the viewer.
Arg: --truncate-width
Must also look to handle non-printing characters.
Implement: extensible structure for "re-run" triggers
- post-cmd throttle (always 1s after)
- cmd runtime-inclusive throttle (1s - cmd-exec time)
- screen-size-change
- files changed
Must consider the best way to handle conflicting triggers.
Should it be an "and" or "or" or masking behavior?
Implement: bootstrap for bash aliases
Arg: --non-interactive
Be able to turn-off ability to interact with the display-instance, for things like searching strings in the output.
Interactivity: freeze
'f' to freeze a pane, showing some indicator that the cmd is done
Arg: recursive --watch
Usage:
--watch .
-or-
--watch-all
Arg: --regex-editor
Be able to change, only, a regex fed into ack-highlight.
This would build a nice searchability into display.
Arg: --editable
Be able to dynamically edit the top-line, header item.
Implement: extensible structure for formatting changes
- truncate-height
- truncate-width
- --colors
- emulate tty (for colors)
- header, no-header
- timer
For the body:
- head
- tails
- head-and-tails
String-Width REAL
Here is a package which probably has a lot of the corner-cases considered and worked-out:
https://github.com/sindresorhus/string-width
... an npm package.
- strips color codes
- measures the length of 2-char codes
Arg: --no-throttle
Disable any throttling or timing w/ gnu-date.
Run as fast as possible.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.