Sha256: a3a1e4a7a2a2dbd2e4959f084fe0c072f89ca9c2dddc28822aa47164350d2ca3

Contents?: true

Size: 178 Bytes

Versions: 8

Compression:

Stored size: 178 Bytes

Contents

# encoding: utf-8

require 'tty-pager'

ENV['PAGER']='less'

pager = TTY::Pager::SystemPager.new
file = File.join(File.dirname(__FILE__), 'temp.txt')
pager.page(File.read(file))

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tty-pager-0.10.0 examples/system_pager.rb
tty-pager-0.9.0 examples/system_pager.rb
tty-pager-0.8.0 examples/system_pager.rb
tty-pager-0.7.1 examples/system_pager.rb
tty-pager-0.7.0 examples/system_pager.rb
tty-pager-0.6.0 examples/system_pager.rb
tty-pager-0.5.0 examples/system_pager.rb
tty-pager-0.4.0 examples/system_pager.rb