A simple ncurses-based plain text reader
Project description
Curses txt reader
About
A simple(?) ncurses-based plain text reader written in python.
Instalation
From PyPI:
$ pip install curtxt-reader
From source:
$ git clone https://github.com/1256-bits/curses-txt-reader.git
$ cd curses-txt-reader
$ pip install .
Usage
Curses txt reader accepts text from both stdin via pipes
$ echo something | curtxt
and a (single) file
$ curtxt file.txt
When presented with both stdin and a file at the same time it will open the file. Curses txt reader does not accept multiple files. Use cat instead. Previously opened files will open on the same page they were left off
Controls:
- Arrow Up/Down - page up and down
- [page number]g - go to a page with specified number
- Q - quit (Ctrl+C is also fine)
- B - toggle progress bar
- Home - got to the first page
- End - go to the last page
Command line options:
-h, --help - pring help message and exit
-v, --version - print version number and exit
-c, --clear - clear history file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
curtxt-reader-1.2.3.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for curtxt_reader-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f0023d86a4ccb985da05f3feadc0bfc4409f154862e8cd8ad43a19044f9e71 |
|
MD5 | 5505a36c1ca58c093d27101adc9b9738 |
|
BLAKE2b-256 | a558c2ecfed8e1fd4742ca8324390b16f3590581eb8ad931283c7a2f14d928a9 |