Add ~. and ~^Z handling to exit/suspend dbclient

This commit is contained in:
Matt Johnston
2013-03-23 23:16:06 +08:00
parent c172fb3b32
commit 5996c3824c
5 changed files with 81 additions and 4 deletions

View File

@@ -83,8 +83,10 @@ struct Channel {
int flushing;
const struct ChanType* type;
/* Used by client chansession to handle ~ escaping, NULL ignored otherwise */
void (*read_mangler)(struct Channel*, unsigned char* bytes, int *len);
const struct ChanType* type;
};
struct ChanType {