Author: Julien-externe BLACHE <julien-externe.blache@edf.fr>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584098
Description: Fix to allow ESC key to work in whiptail.
Last-Updated: 2010-06-21
Forwarded: no

diff -ruN newt-0.52.11-old/form.c newt-0.52.11/form.c
--- newt-0.52.11-old/form.c	2009-09-24 16:03:09.000000000 +0100
+++ newt-0.52.11/form.c	2010-06-21 13:09:31.000000000 +0100
@@ -474,6 +474,7 @@
     if (!(form->flags & NEWT_FLAG_NOF12)) {
 	newtFormAddHotKey(co, NEWT_KEY_F12);
     }
+    newtFormAddHotKey (co, NEWT_KEY_ESCAPE);
 
     if (vertBar)
 	form->vertBar = vertBar;
