summaryrefslogtreecommitdiff
path: root/dtach.h
diff options
context:
space:
mode:
Diffstat (limited to 'dtach.h')
-rw-r--r--dtach.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/dtach.h b/dtach.h
index 5373404..f28099a 100644
--- a/dtach.h
+++ b/dtach.h
@@ -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. */