Mercurial > hg
changeset 377:00809e3e327e
Add "/roster up" and "/roster down"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 26 Jul 2005 18:18:30 +0100 |
parents | d37d8d661115 |
children | 2e6c7b1440d1 |
files | mcabber/doc/mcabber.1 mcabber/doc/mcabber.1.html mcabber/doc/mcabber.1.txt mcabber/src/commands.c mcabber/src/screen.h |
diffstat | 5 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/doc/mcabber.1 Mon Jul 25 22:02:35 2005 +0100 +++ b/mcabber/doc/mcabber.1 Tue Jul 26 18:18:30 2005 +0100 @@ -181,6 +181,8 @@ \fBbottom\fR jump to the bottom of the roster \fBtop\fR jump to the top of the roster + \fBup\fR move up in the roster + \fBdown\fR move down in the roster \fBhide_offline\fR hide offline buddies \fBshow_offline\fR show offline buddies \fBtoggle_offline\fR toggle display of offline buddies
--- a/mcabber/doc/mcabber.1.html Mon Jul 25 22:02:35 2005 +0100 +++ b/mcabber/doc/mcabber.1.html Tue Jul 26 18:18:30 2005 +0100 @@ -437,6 +437,22 @@ </tr> <tr valign="top"> <td> +<b>up</b> +</td> +<td> +move up in the roster +</td> +</tr> +<tr valign="top"> +<td> +<b>down</b> +</td> +<td> +move down in the roster +</td> +</tr> +<tr valign="top"> +<td> <b>hide_offline</b> </td> <td> @@ -533,7 +549,7 @@ <div id="footer"> <p> Version 0.6.5-dev<br /> -Last updated 25-Jul-2005 19:08:54 CEST +Last updated 26-Jul-2005 16:34:28 CEST </p> </div> </div>
--- a/mcabber/doc/mcabber.1.txt Mon Jul 25 22:02:35 2005 +0100 +++ b/mcabber/doc/mcabber.1.txt Tue Jul 26 18:18:30 2005 +0100 @@ -174,6 +174,8 @@ 'bottom';; jump to the bottom of the roster 'top';; jump to the top of the roster + 'up';; move up in the roster + 'down';; move down in the roster 'hide_offline';; hide offline buddies 'show_offline';; show offline buddies 'toggle_offline';; toggle display of offline buddies
--- a/mcabber/src/commands.c Mon Jul 25 22:02:35 2005 +0100 +++ b/mcabber/src/commands.c Tue Jul 26 18:18:30 2005 +0100 @@ -115,6 +115,8 @@ // Roster category compl_add_category_word(COMPL_ROSTER, "bottom"); compl_add_category_word(COMPL_ROSTER, "top"); + compl_add_category_word(COMPL_ROSTER, "up"); + compl_add_category_word(COMPL_ROSTER, "down"); compl_add_category_word(COMPL_ROSTER, "hide_offline"); compl_add_category_word(COMPL_ROSTER, "show_offline"); compl_add_category_word(COMPL_ROSTER, "toggle_offline"); @@ -366,6 +368,10 @@ } scr_RosterSearch(string); update_roster = TRUE; + } else if (!strcasecmp(arg, "up")) { + scr_RosterUp(); + } else if (!strcasecmp(arg, "down")) { + scr_RosterDown(); } else scr_LogPrint(LPRINT_NORMAL, "Unrecognized parameter!"); }
--- a/mcabber/src/screen.h Mon Jul 25 22:02:35 2005 +0100 +++ b/mcabber/src/screen.h Tue Jul 26 18:18:30 2005 +0100 @@ -49,6 +49,8 @@ // For commands... void scr_RosterTop(void); void scr_RosterBottom(void); +void scr_RosterUp(void); +void scr_RosterDown(void); void scr_RosterSearch(char *); void scr_BufferTopBottom(int topbottom); void scr_BufferClear(void);