Command history: allow "next history" to jump back to last msg in

history if we already went over it with "prev history" once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1365 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-08 00:45:56 +00:00 committed by cras
commit f5d67dcb5c
3 changed files with 77 additions and 51 deletions

View file

@ -38,8 +38,8 @@ typedef struct {
unsigned int destroying:1;
/* window-specific command line history */
GList *cmdhist, *histpos;
int histlines;
GList *history, *history_pos;
int history_lines, history_over_counter;
int data_level; /* current data level */
int hilight_color, hilight_bg_color; /* current hilight color */