diff options
| author | Ned T. Crigler <crigler@users.sourceforge.net> | 2004-06-24 01:57:02 +0000 |
|---|---|---|
| committer | Ned T. Crigler <crigler@users.sourceforge.net> | 2004-06-24 01:57:02 +0000 |
| commit | a5599b4610788c17f5166685612f48c71d7537ac (patch) | |
| tree | 97826e9812b600d3c4777bd265c932700c63babe /dtach.h | |
| parent | 302917ca33d7cdfac786f562986b2c669f64ad49 (diff) | |
Allow the redraw method to be chosen by the user, and include the old Ctrl L
character method again.
Diffstat (limited to 'dtach.h')
| -rw-r--r-- | dtach.h | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -74,15 +74,24 @@ #include <sys/un.h> extern char *progname, *sockname; -extern int detach_char, no_suspend; +extern int detach_char, no_suspend, redraw_method; extern struct termios orig_term; enum { - MSG_PUSH, - MSG_ATTACH, - MSG_DETACH, - MSG_WINCH, + MSG_PUSH = 0, + MSG_ATTACH = 1, + MSG_DETACH = 2, + MSG_WINCH = 3, + MSG_REDRAW = 4, +}; + +enum +{ + REDRAW_UNSPEC = 0, + REDRAW_NONE = 1, + REDRAW_CTRL_L = 2, + REDRAW_WINCH = 3, }; /* The client to master protocol. */ |
