| termlib.js home | | | multiple terminals | | | parser | | | faq | | | documentation | | | samples |
|
A Simple Globbing Sample (with dialog) This sample demonstrates how to back up and restore a terminal's state Open the terminal, type a some text and hit TAB or ESC for globbing. Possible completions are stored in an object containing lists (arrays)
var termGlobDict = {
'a': [
// put strings beginning with "a" here
],
'b': [
// put strings beginning with "b" here
]
...
}
(Only the max. first 9 hits are displayed as possible options.) Options may be selected by either
|