#in-place #display #line #tool #update #rolling-window #ansi-escapes #sliding-window

app cargo-iris

A terminal tool that displays a rolling window of lines with in-place updates

1 unstable release

0.1.0 Mar 20, 2026

#2 in #rolling-window

MIT license

7KB
121 lines

iris - sliding window

a terminal tool that displays a sliding window of lines with in-place updates using ansi escape codes

description

iris reads lines from stdin and displays a sliding window of the last n lines, updating in place. useful for monitoring log files or streaming output

installation

cargo install cargo-iris

usage

tail -f /var/log/messages | iris
tail -f /var/log/messages | iris -n 10

options

  • -n, --lines <lines> - number of lines to display (default: 5)

license

mit

Dependencies

~1.7–2.3MB
~48K SLoC