File: 700_escape-key.patch

package info (click to toggle)
newt 0.52.11-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 440 kB
  • ctags: 46
  • sloc: makefile: 214; python: 22; sh: 7
file content (11 lines) | stat: -rw-r--r-- 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
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;