ronisbr / TerminalPager.jl

Pure Julia implementation of the command less
MIT License
116 stars 8 forks source link

TerminalPager.jl

CI Code Style: Blue DOI

This package contains a pager written 100% in Julia. It can be used to scroll through content that does not fit in the screen. It was developed based on the Linux command less.

Quick installation

julia> using Pkg

julia> Pkg.add("TerminalPager")

Quick start

You can call the pager using the function pager with any object. If it is not a string, then it will be rendered to one using show with MIME"text/plain".

julia> rand(100, 100) |> pager

julia> pager(rand(100, 100))

For more details, see the documentation.