| | |
- get_begidx(...)
- get_begidx() -> int
get the beginning index of the readline tab-completion scope
- get_completer_delims(...)
- get_completer_delims() -> string
get the readline word delimiters for tab-completion
- get_endidx(...)
- get_endidx() -> int
get the ending index of the readline tab-completion scope
- get_history_length(...)
- get_history_length() -> int
return the current history length value.
- get_line_buffer(...)
- get_line_buffer() -> string
return the current contents of the line buffer.
- insert_text(...)
- insert_text(string) -> None
Insert text into the command line.
- parse_and_bind(...)
- parse_and_bind(string) -> None
Parse and execute single line of a readline init file.
- read_history_file(...)
- read_history_file([filename]) -> None
Load a readline history file.
The default filename is ~/.history.
- read_init_file(...)
- read_init_file([filename]) -> None
Parse a readline initialization file.
The default filename is the last filename used.
- set_completer(...)
- set_completer([function]) -> None
Set or remove the completer function.
The function is called as function(text, state),
for i in [0, 1, 2, ...] until it returns a non-string.
It should return the next possible completion starting with 'text'.
- set_completer_delims(...)
- set_completer_delims(string) -> None
set the readline word delimiters for tab-completion
- set_history_length(...)
- set_history_length(length) -> None
set the maximal number of items which will be written to
the history file. A negative length is used to inhibit
history truncation.
- write_history_file(...)
- write_history_file([filename]) -> None
Save a readline history file.
The default filename is ~/.history.
|