forked from PsychoticNinja/irssi
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL -> /SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups. filename_complete() has extra argument for "default directory" which is searched if no path is given when completing. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
17 lines
462 B
C
17 lines
462 B
C
#ifndef __COMPLETION_H
|
|
#define __COMPLETION_H
|
|
|
|
#include "window-items.h"
|
|
|
|
/* automatic word completion - called when space/enter is pressed */
|
|
char *auto_word_complete(const char *line, int *pos);
|
|
/* manual word completion - called when TAB is pressed */
|
|
char *word_complete(WINDOW_REC *window, const char *line, int *pos);
|
|
|
|
GList *filename_complete(const char *path, const char *default_path);
|
|
|
|
void completion_init(void);
|
|
void completion_deinit(void);
|
|
|
|
#endif
|