~ark/il

Interactive list written in crystal
0730c67c — Julian Hurst 3 years ago
Update crystal version and libil version
fc4dd201 — Julian Hurst 4 years ago
Bump libil version
dc402751 — Julian Hurst 4 years ago
Update man and improve

clone

read-only
https://git.sr.ht/~ark/il
read/write
git@git.sr.ht:~ark/il

You can also use your local clone with git send-email.

#il (Interactive list)

Reads data passed through stdin and displays it in an interactive list (with basic vim-based navigation bindings) line by line in current tty. Choosing an item outputs data to stdout for piping.

#Build

Simply install crystal, shards and scdoc and run :
make

To compile with debug support :
make debug

#Install

Run :

make install

#Usage

See man il.

#Notes

  • Piped input data is handled using ARGF.
  • User keyboard input is handled by reading /dev/tty.
  • Piped output data is handled by printing to stdout.
  • Terminal output is handled by writing to /dev/tty.