projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jacob's patch to improve Close On Exit behaviour
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
a06ed7d
..
88774e0
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-130,6
+130,15
@@
enum {
LD_ECHO /* local echo */
};
LD_ECHO /* local echo */
};
+enum {
+ /*
+ * Close On Exit behaviours. (cfg.close_on_exit)
+ */
+ COE_NEVER, /* Never close the window */
+ COE_ALWAYS, /* Always close the window */
+ COE_NORMAL /* Close window on "normal" (non-error) exits only */
+};
+
typedef struct {
char *(*init) (char *host, int port, char **realhost);
void (*send) (char *buf, int len);
typedef struct {
char *(*init) (char *host, int port, char **realhost);
void (*send) (char *buf, int len);