Skip to content

Releases: tigrawap/slit

Better highlighting

05 May 15:07
Compare
Choose a tag to compare

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 matches
  • h - Move to next highlighted line
  • H - Move to previous highlighted line
  • ctrl+h - Remove all highlights
  • = - Removes only filters, does not remove highlights via ~

Highlight: bugfix

04 May 16:30
Compare
Choose a tag to compare

Fixed bug with shift+c(Context) functionality broken, when any line is highlighted

Highlight

04 May 15:54
Compare
Choose a tag to compare

Added highlighting feature
Lines marked to highlight will be visible regardless of filters

Librarians power

13 Jun 13:44
Compare
Choose a tag to compare
  • 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
  • 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

20 Jul 18:31
Compare
Choose a tag to compare

Fixed undesired behaviour when piping stuff out from slit + style fixes by @olshevskiy87

File to filter, filter to file..

13 May 20:47
Compare
Choose a tag to compare
  • 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

07 May 21:55
Compare
Choose a tag to compare
  • kept chars bugfix. 10x to @olshevskiy87
  • Added <> precise scroll navigation

Man shall be supported

01 May 16:15
Compare
Choose a tag to compare
  • 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

26 Apr 08:47
Compare
Choose a tag to compare

Fixed -O option, that was broken after migration to Pflag library instead of default Flag library

Followable

26 Apr 07:32
Compare
Choose a tag to compare
  • --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