Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Complete ¶
type Complete struct {
// contains filtered or unexported fields
}
type EnvName ¶
type EnvName string
const ( ENV_COMP_LINE EnvName = "COMP_LINE" // The current command line. ENV_COMP_POINT EnvName = "COMP_POINT" // The index of the current cursor position relative to the beginning of the current command. ENV_COMP_KEY EnvName = "COMP_KEY" // The key (or final key of a key sequence) used to invoke the current completion function. ENV_COMP_TYPE EnvName = "COMP_TYPE" // Set to an integer value corresponding to the type of completion attempted that caused a completion function to be called: TAB, for normal completion, ‘?’, for listing completions after successive tabs, ‘!’, for listing alternatives on partial word completion, ‘@’, to list completions if the word is not unmodified, or ‘%’, for menu completion. ENV_COMP_WORDS EnvName = "COMP_WORDS" // An array variable consisting of the individual words in the current command line. The line is split into words as Readline would split it, using COMP_WORDBREAKS as described above. ENV_COMP_CWORD EnvName = "COMP_CWORD" // An index into ${COMP_WORDS} of the word containing the current cursor position. ENV_COMP_WORDBREAKS EnvName = "COMP_WORDBREAKS" // The set of characters that the Readline library treats as word separators when performing word completion. If COMP_WORDBREAKS is unset, it loses its special properties, even if it is subsequently reset. )
Click to show internal directories.
Click to hide internal directories.