mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9ed228551b
commit
9ddebe6bcf
13 changed files with 243 additions and 78 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define __WINDOWS_H
|
||||
|
||||
#include "window-item-def.h"
|
||||
#include "command-history.h"
|
||||
|
||||
enum {
|
||||
DATA_LEVEL_NONE = 0,
|
||||
|
|
@ -34,8 +35,8 @@ struct _WINDOW_REC {
|
|||
unsigned int destroying:1;
|
||||
|
||||
/* window-specific command line history */
|
||||
GList *history, *history_pos;
|
||||
int history_lines, history_over_counter;
|
||||
HISTORY_REC *history;
|
||||
char *history_name;
|
||||
|
||||
int data_level; /* current data level */
|
||||
char *hilight_color; /* current hilight color in %format */
|
||||
|
|
@ -62,6 +63,7 @@ void window_change_server(WINDOW_REC *window, void *server);
|
|||
|
||||
void window_set_refnum(WINDOW_REC *window, int refnum);
|
||||
void window_set_name(WINDOW_REC *window, const char *name);
|
||||
void window_set_history(WINDOW_REC *window, const char *name);
|
||||
void window_set_level(WINDOW_REC *window, int level);
|
||||
|
||||
/* return active item's name, or if none is active, window's name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue