cli_menu

A simple menu (picker) that works on the command line. Works on Linux, Mac and Windows. Supports choosing by arrows on ANSI terminals.


License
BSD-3-Clause

Documentation

cli_menu Build Status

Screencast of cli_menu in action

A library for adding simple menus to console (CLI) apps. It will print a list of options and then let user choose via keyboard up and down arrows (when ANSI is available), or via a prompt for a number.

This library is conservative – it prefers compatibility to fancy ANSI features and unicode glyphs.

Features and bugs

Please file feature requests and bugs at the issue tracker.