TerminalPager.jl

Pure Julia implementation of the command less
Popularity
118 Stars
Updated Last
2 Months Ago
Started In
April 2021

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.

Used By Packages