{ "info": { "author": "Yusuke Sakamoto", "author_email": "yus.sakamoto@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console :: Curses", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Terminals", "Topic :: Text Editors", "Topic :: Utilities" ], "description": "texteditpad\n===========\n\nSimple textbox editing widget with Emacs-like keybindings. Provide\nricher features than ``curses.textpad`` routine and intended to replace\nit.\n\npypi repository:\nhttps://pypi.python.org/pypi/texteditpad\n\nUsage\n=====\n\n.. code:: python\n\n def test_editbox(stdscr):\n ncols, nlines = 9, 4\n uly, ulx = 15, 20\n stdscr.addstr(uly - 2, ulx, \"Use Ctrl-G to end editing.\")\n win = curses.newwin(nlines, ncols, uly, ulx)\n stdscr.refresh()\n \n return texteditpad.Textbox(win).edit()\n \n text = curses.wrapper(test_editbox)\n print 'Contents of text box:'\n print text\n\nCommands\n========\n\nEditing widget using the interior of a window object. Supports the\nfollowing Emacs-like key bindings:\n\n+-----------+----------------------------------------------------------------+\n| Command | Description |\n+===========+================================================================+\n| Ctrl-A | Go to left edge of window. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-B | Cursor left, wrapping to previous line if appropriate. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-D | Delete character under cursor. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-E | Go to right edge or end of line |\n+-----------+----------------------------------------------------------------+\n| Ctrl-F | Cursor right, wrapping to next line when appropriate. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-G | Terminate, returning the window contents. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-H | Delete character backward. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-I | Toggle insert/overwrite modes. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-K | If line is blank, delete it, otherwise clear to end of line. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-L | Refresh screen. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-N | Cursor down; move down one line. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-O | Insert a blank line at cursor location. |\n+-----------+----------------------------------------------------------------+\n| Ctrl-P | Cursor up; move up one line. |\n+-----------+----------------------------------------------------------------+", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yskmt/texteditpad", "keywords": "curses terminal text edit box pad", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "texteditpad", "package_url": "https://pypi.org/project/texteditpad/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/texteditpad/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/yskmt/texteditpad" }, "release_url": "https://pypi.org/project/texteditpad/0.32/", "requires_dist": null, "requires_python": null, "summary": "Simple textbox editing widget with Emacs-like keybindings", "version": "0.32" }, "last_serial": 1485075, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "e6272701c9513b535f6e9b35787fe127", "sha256": "1b33907b02971f00d177e93c88ea01fc3a546471f3fbc5519aee6c8ac1225c5e" }, "downloads": -1, "filename": "texteditpad-0.3.tar.gz", "has_sig": false, "md5_digest": "e6272701c9513b535f6e9b35787fe127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5673, "upload_time": "2015-03-26T02:29:41", "url": "https://files.pythonhosted.org/packages/35/db/ff1d7706c71a403a23a072181305334b16fa5bf9d3c45f6ade9b2b3e4ac0/texteditpad-0.3.tar.gz" } ], "0.31": [ { "comment_text": "", "digests": { "md5": "270dad9d2fe228ccd8bbf205d7083af5", "sha256": "84c703ca085fe40a258d3a217e662a41e1a26daa8fa7f9a3ed8742b9d83e9657" }, "downloads": -1, "filename": "texteditpad-0.31.tar.gz", "has_sig": false, "md5_digest": "270dad9d2fe228ccd8bbf205d7083af5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5767, "upload_time": "2015-03-30T16:35:35", "url": "https://files.pythonhosted.org/packages/72/c1/ce6b65e18d5f548fc371c87b2100314ced04780bfad62f986ccced767e9f/texteditpad-0.31.tar.gz" } ], "0.32": [ { "comment_text": "", "digests": { "md5": "7df0fff77144bcea07195de73c35bc73", "sha256": "3d917a78dd0234d483a275d47ffe125a4a3876a08e107e4dd1596522f04a8094" }, "downloads": -1, "filename": "texteditpad-0.32.tar.gz", "has_sig": false, "md5_digest": "7df0fff77144bcea07195de73c35bc73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6045, "upload_time": "2015-03-31T15:38:13", "url": "https://files.pythonhosted.org/packages/ba/87/1fcba48ba04d825596fd5beaf8f9d78102470f6c12b13b945a0a5e96ea51/texteditpad-0.32.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7df0fff77144bcea07195de73c35bc73", "sha256": "3d917a78dd0234d483a275d47ffe125a4a3876a08e107e4dd1596522f04a8094" }, "downloads": -1, "filename": "texteditpad-0.32.tar.gz", "has_sig": false, "md5_digest": "7df0fff77144bcea07195de73c35bc73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6045, "upload_time": "2015-03-31T15:38:13", "url": "https://files.pythonhosted.org/packages/ba/87/1fcba48ba04d825596fd5beaf8f9d78102470f6c12b13b945a0a5e96ea51/texteditpad-0.32.tar.gz" } ] }