Skip to content

tslight/cpager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CURSES PAGER

More or less a simple Curses Python paging library...

INSTALLATION

pip install cpager

USAGE

usage: cpager [-h] input

More or less a pager

positional arguments:
  input       file or string

optional arguments:
  -h, --help  show this help message and exit

KEYBINDINGS

[h][LEFT]     : Scroll left one character.
[l][RIGHT]    : Scroll right one column.
[k][UP]       : Scroll up one line.
[j][DOWN]     : Scroll down one line.
[f][PGDN]     : Scroll down a page of lines.
[b][PGUP]     : Scroll up a page of lines.
[g][HOME]     : Go to first page.
[G][END]      : Go to last page.
[/]           : Search via wildcards or regex.
[n]           : Jump to next search result.
[p]           : Jump to previous search result.
[r]           : Reset search results.
[?][F1]       : View this help page.
[w][CTRL-s]   : Save contents to file.
[q][ESC]      : Quit and exit.

Releases

No releases published

Packages

No packages published

Languages