'\e' is non-standard use '\x1b' instead

Thu, 23 Jul 2015 02:22:26 +0300

author
Teemu Piippo <tsapii@utu.fi>
date
Thu, 23 Jul 2015 02:22:26 +0300
changeset 91
ac02cf1c3576
parent 90
a30130330981
child 92
39947c46ed17

'\e' is non-standard use '\x1b' instead

sources/interface.cpp file | annotate | diff | comparison | revisions
--- a/sources/interface.cpp	Thu Jul 23 02:18:58 2015 +0300
+++ b/sources/interface.cpp	Thu Jul 23 02:22:26 2015 +0300
@@ -863,7 +863,7 @@
 			safe_disconnect ([&]() {set_input_state (INPUTSTATE_ADDRESS);});
 		break;
 
-	case '\e': // Escape
+	case '\x1b': // Escape
 		// We may have an alt key coming
 		ch = ::getch();
 

mercurial