Releases: tigrawap/slit
Releases · tigrawap/slit
Better highlighting
Highlighting
`
- (Backtick) Mark top line for highlighting (i.e will be shown no matter what are other filters)~
- Highlight filter. I.e search and highlight everything that matchesh
- Move to next highlighted lineH
- Move to previous highlighted linectrl+h
- Remove all highlights=
- Removes only filters, does not remove highlights via~
Highlight: bugfix
Fixed bug with shift+c(Context) functionality broken, when any line is highlighted
Highlight
Librarians power
- Refactored as library
- Supports direct output if fits to screen (can be disabled with --always-term)
- If input is STDIN then will wait for the EOF or for content to fill the screen, duration of this maximal wait time can be changed with
--short-stdin-timeout
, defaults to 10000ms, i.e 10 seconds
- If input is STDIN then will wait for the EOF or for content to fill the screen, duration of this maximal wait time can be changed with
- Added
--filters
cli argument, supports template-file-based filtering and cli-based filtering, can be mixed - Styling improvements
Thanks to @olshevskiy87, @bcicen for contributing
Usquelching
Fixed undesired behaviour when piping stuff out from slit + style fixes by @olshevskiy87
File to filter, filter to file..
- Added ability to save filtered version to file
ctrl+s
Caveats:- Colors not preserved
- Added support of
-K
/--keep-chars
option, to start slit with pre-defined number of kept chars
Slit better be precise
- kept chars bugfix. 10x to @olshevskiy87
- Added <> precise scroll navigation
Man shall be supported
- Supports Man-style backspace-escaping
- Better non-existing files handling (10x to olshevskiy87)
- Forcing(myself) to run go fmt/go vet on release build
-O compat fix
Fixed -O option, that was broken after migration to Pflag library instead of default Flag library
Followable
--follow -f
Follow file/stdin. All filter are applied to new data.
When navigating up from the end, following will be stopped and resumed on navigating to the end(shift+g) or just by scrolling down till the end--version
Displays version