jcubic/jquery.terminal — Issue #14: API for setting command_list for tab-completion
Author: mgedmin
Created: 2012-01-30 18:25:34+00:00
State: open

When I supply an interpreter function to .terminal(), I found no way to provide a command list for tab-completion. An API to provide it would be nice to have. Also, API to update the tab-completion list at runtime. Something like this perhaps?

* [patch to accept the initial command_list in the settings object](https://github.com/mgedmin/SnakeMUD/commit/9d37682afc78997642d194a4a1ef67d62109af07#snakemud/static/js/jquery.terminal-0.4.6.js)
* [patch to add .set_command_list() and .get_command_list() instance methods](https://github.com/mgedmin/SnakeMUD/commit/1e63f418c8ce47f56245e2946ff25d9323114b3f#snakemud/static/js/jquery.terminal-0.4.6.js)

I can create a pull request if you think these changes look reasonable.