summaryrefslogtreecommitdiff
path: root/dtach.h
diff options
context:
space:
mode:
authorNed T. Crigler <crigler@users.sourceforge.net>2004-06-24 01:57:02 +0000
committerNed T. Crigler <crigler@users.sourceforge.net>2004-06-24 01:57:02 +0000
commita5599b4610788c17f5166685612f48c71d7537ac (patch)
tree97826e9812b600d3c4777bd265c932700c63babe /dtach.h
parent302917ca33d7cdfac786f562986b2c669f64ad49 (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.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. */