Metadata-Version: 2.1
Name: tty-menu
Version: 1.0.3
Summary: terminal menu(一个命令行上下选择菜单)
Home-page: https://github.com/gojuukaze/tty_menu
Author: gojuukaze
Author-email: i@ikaze.uu.me
License: GUN V3.0
Platform: OSX
Platform: Linux
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Development Status :: 5 - Production/Stable

tty_menu
==========================

This project is used to create menu command-line
一个快速创建命令行菜单的工具

.. image:: https://github.com/gojuukaze/tty_menu/blob/master/ex.gif?raw=true

Install
----------------------

.. code-block:: bash

    pip install tty_menu

Example
----------------------

.. code-block:: python

    from tty_menu import tty_menu

    l = ['a', 'b', 'c']
    pos = tty_menu(l, "What is your word?")

    print("Your word is %s" % (l[pos]))

chang_log
---------------

* 1.0.2 : rm log (移除无用log)

* 1.0.3 : change way (更改显示菜单的方式，不在需要清屏了)


