mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Rewrite Tab-completion to work with signals - now it should be easy to
add completion to whatever command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@356 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bc8848f965
commit
234e95ef94
9 changed files with 534 additions and 749 deletions
14
src/fe-common/core/completion.h
Normal file
14
src/fe-common/core/completion.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#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);
|
||||
|
||||
void completion_init(void);
|
||||
void completion_deinit(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue