Metadata-Version: 2.0
Name: py-curses-editor
Version: 1.1.0
Summary: A configurable curses text editor window
Home-page: https://github.com/firecat53/py_curses_editor
Author: Scott Hansen
Author-email: firecat4153@gmail.com
License: MIT
Download-URL: https://github.com/firecat53/py_curses_editor/tarball/1.1.0
Keywords: editor console curses
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: Console :: Curses
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Text Editors
Classifier: Topic :: Utilities

py_curses_editor  
================

Python curses text editor module. Provides a configurable pop-up window for
entering text, passwords, etc.

Posted by Scott Hansen <firecat4153@gmail.com>

Other Contributors:

    + Yuri D'Elia <yuri.delia@eurac.edu> (Unicode/python2 code from tabview)

Features:
---------
* Python 2.7+, 3+
* Unicode support
* Configurable window size and location
* Text box can have a title and/or an outlined box
* Text box can be initialized with existing text to edit
* Password mode for hiding text entries
* Pop-up help menu

Requires: 
---------

Python 2.7+, 3+

Installation:
-------------

* ``# python setup.py install``  OR
* ``$ python setup.py install --user``

License:
--------

* MIT

Usage:
------

>From non-curses application::

    import editor
    editor.editor(box=False, inittext="Hi", win_location=(5, 5))

>From curses application with a predefined curses window object (stdscr)::

    from editor.editor import Editor
    Editor(stdscr, win_size=(1,80), pw_mod=True, max_text_size=1)()

Keybindings:
------------

=====================    ===================================================
**F1**                   Show popup help menu
**F2 or Ctrl-x**         Save and Quit
**Enter**                Enter new line, or Save and Quit (single line mode)
**F3 or ESC**            Cancel (no save)
**Cursor keys**          Movement
**Ctrl-n/p Ctrl-f/b**    Up/down right/left
**Home/End Ctrl-a/e**    Beginning or End of current line
**PageUp/PageDown**      PageUp/PageDown
**Delete Ctrl-d**        Delete character under cursor
**Backspace Ctrl-h**     Delete character to left
**Ctrl-k/u**             Delete to end/beginning of-line
=====================    ===================================================


