mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 10:32:31 +02:00
irssi core: add window console set active support
We can't go to the console window easily right now, we'll want this in case irssi needs to prompt the user for something sensitive such as a password. Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
This commit is contained in:
parent
e880d18bb3
commit
ea7476addf
3 changed files with 28 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ struct _WINDOW_REC {
|
|||
unsigned int immortal:1;
|
||||
unsigned int sticky_refnum:1;
|
||||
unsigned int destroying:1;
|
||||
unsigned int console:1;
|
||||
|
||||
/* window-specific command line history */
|
||||
HISTORY_REC *history;
|
||||
|
|
@ -75,6 +76,7 @@ const char *window_get_active_name(WINDOW_REC *window);
|
|||
WINDOW_REC *window_find_level(void *server, int level);
|
||||
WINDOW_REC *window_find_closest(void *server, const char *name, int level);
|
||||
WINDOW_REC *window_find_refnum(int refnum);
|
||||
WINDOW_REC *window_find_console(void);
|
||||
WINDOW_REC *window_find_name(const char *name);
|
||||
WINDOW_REC *window_find_item(SERVER_REC *server, const char *name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue