diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-24 17:20:07 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-24 17:20:07 +0200 |
commit | cf4f86917478137043ca8f316ce61d26259fdfd5 (patch) | |
tree | cc03eb06640398f1c84fae956e454c6fd25d2422 /src/gui/curses/gui-curses-color.c | |
parent | 16e11ef25ea13eeb77d5ebaf6df83a06bfc09afc (diff) | |
download | weechat-cf4f86917478137043ca8f316ce61d26259fdfd5.zip |
Added completion with possible values for /set, new possible values "++n" and "--n" for integers and colors
Diffstat (limited to 'src/gui/curses/gui-curses-color.c')
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index 45d709e0c..c1b767b5d 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -249,6 +249,16 @@ gui_color_assign (t_gui_color **color, char *fg_and_bg) }*/ /* + * gui_color_get_number: get number of available colors + */ + +int +gui_color_get_number () +{ + return GUI_CURSES_NUM_WEECHAT_COLORS; +} + +/* * gui_color_get_name: get color name */ |