diff session.h @ 722:4a274f47eabd

Add ~. and ~^Z handling to exit/suspend dbclient
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Mar 2013 23:16:06 +0800
parents cd3d3c63d189
children 78eda530c000 d44325108d0e b07eb3dc23ec
line wrap: on
line diff
--- a/session.h	Thu Mar 21 23:35:07 2013 +0800
+++ b/session.h	Sat Mar 23 23:16:06 2013 +0800
@@ -259,6 +259,9 @@
 	int stderrcopy;
 	int stderrflags;
 
+	/* for escape char handling */
+	int last_char;
+
 	int winchange; /* Set to 1 when a windowchange signal happens */
 
 	int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,