1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/fe-common/core/completion.h
Timo Sirainen 3990779dc5 /BIND meta-k erase_completion - support for removing completion data.
Currently this works only with /MSG completion, so eg. /MSG nick <meta-k>
removes nick from completion list and jumps to next completion.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:07:12 +00:00

19 lines
590 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. if erase is TRUE,
the word is removed from completion list entirely (if possible) and
next completion is used */
char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase);
GList *filename_complete(const char *path, const char *default_path);
void completion_init(void);
void completion_deinit(void);
#endif