|
|
|
_update_conf_hook(self,
var,
val,
sect)
Hook for update conf event |
source code
|
|
|
_save_history_hook(self)
Save history at shutdown |
source code
|
|
|
_load_history_hook(self)
Load history at startup |
source code
|
|
|
|
|
|
|
rows(self,
(maxcol,),
focus=False)
Return the number of lines that will be rendered |
source code
|
|
|
render(self,
(maxcol,),
focus=False)
Render the command line |
source code
|
|
|
_get_visible(self,
maxcol)
Calculate and return currently visible piece of cmd data |
source code
|
|
|
get_cursor_coords(self,
(maxcol,))
Return the (x,y) coordinates of cursor within widget. |
source code
|
|
|
|
|
keypress(self,
size,
key)
Process pressed key |
source code
|
|
|
|
|
|
|
_save_history(self)
Save typed command history |
source code
|
|
|
|
|
|
|
|
|
del_char_left(self)
Delete single character left to the cursor |
source code
|
|
|
del_char(self)
Delete single character under the cursor |
source code
|
|
|
del_word_left(self)
Delete a word left to the cursor |
source code
|
|
|
del_word_right(self)
Delete a word right to the cursor |
source code
|
|
|
|
|
clear_left(self)
Clear the cmd line from the cursor to the left |
source code
|
|
|
clear_right(self)
Clear the cmd line from the cursor to the right |
source code
|
|
|
cursor_begin(self)
Move cursor to the beginning of the command line |
source code
|
|
|
cursor_end(self)
Move cursor to the end of the command line |
source code
|
|
|
|
|
|
|
cursor_word_left(self)
Move cursor one word left |
source code
|
|
|
cursor_word_right(self)
Move cursor one word right |
source code
|
|
|
|
|
replace_aliases(self,
data)
Check if first word of the command line (which is supposed to be a
command to execute) is in our aliases table, if it is, replace it. |
source code
|
|
|
|
|
undo(self)
Restore one level from undo buffer |
source code
|
|
|
|
|
history_prev(self)
Scroll through list of saved commands backward |
source code
|
|
|
history_next(self)
Scroll through list of saved commands forward |
source code
|
|
|
|
|
show_history(self)
Show commands history list |
source code
|
|
|
put_active_object(self)
Put currently selected VFS object name in panel to cmd line |
source code
|
|
|
put_active_object_path(self)
Put currently selected VFS object full path in panel to cmd line |
source code
|
|
|
put_inactive_object(self)
Put selected VFS object name in inactive panel to cmd line |
source code
|
|
|
put_inactive_object_path(self)
Put selected VFS object full path in inactive panel to cmd line |
source code
|
|
|
put_active_cwd(self)
Put current working directory of active panel to cmd line |
source code
|
|
|
put_inactive_cwd(self)
Put current working directory of inactive panel to cmd line |
source code
|
|
|
put(self,
obj,
space=True)
Put arbitrary string to cmd line starting from the cursor position |
source code
|
|
|
|
|
append(self,
obj)
Append arbitrary string at the end of cmd |
source code
|
|
|
_put_engine(self,
obj,
space=True)
Put list content to cmd |
source code
|
|
|
|
|
_set_prompt(self,
new)
Set command line prompt |
source code
|
|