mirror of
https://github.com/irssi/irssi.git
synced 2026-08-13 21:52:17 +02:00
Since I accidentally already committed some of the detach-code, here's the
rest of it. It doesn't really work, you can make irssi detached but you can't attach to it anymore :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ba09b3f299
commit
e46446e950
6 changed files with 85 additions and 14 deletions
|
|
@ -23,7 +23,7 @@ typedef struct _TERM_WINDOW TERM_WINDOW;
|
|||
#endif
|
||||
|
||||
extern TERM_WINDOW *root_window;
|
||||
extern int term_width, term_height, term_use_colors;
|
||||
extern int term_width, term_height, term_use_colors, term_detached;
|
||||
|
||||
/* Initialize / deinitialize terminal */
|
||||
int term_init(void);
|
||||
|
|
@ -72,6 +72,11 @@ void term_refresh_freeze(void);
|
|||
void term_refresh_thaw(void);
|
||||
void term_refresh(TERM_WINDOW *window);
|
||||
|
||||
/* Automatically detach irssi when terminal is lost */
|
||||
void term_auto_detach(int set);
|
||||
void term_detach(void);
|
||||
void term_attach(FILE *in, FILE *out);
|
||||
|
||||
void term_stop(void);
|
||||
int term_gets(unsigned char *buffer, int size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue