aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cdk.patch
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-08-13 20:05:17 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-08-13 20:05:17 -0400
commita6d0ada40989f79ee9e0e17192bc8d771ad385d7 (patch)
tree6bc2d68e3afffa7c993efdebe7de35b510bebeb1 /src/cdk.patch
parentabe812c69f14fe91179f0f683aef702280fa37bb (diff)
Separate ^H from Backspace in the terminal version.
Also have libtermkey take care of saving and restoring termios.
Diffstat (limited to 'src/cdk.patch')
-rw-r--r--src/cdk.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/cdk.patch b/src/cdk.patch
index 0ccbb9ea..b9fc42b9 100644
--- a/src/cdk.patch
+++ b/src/cdk.patch
@@ -287,6 +287,27 @@ diff -r 9d0780ddcbab cdk_version.h
+#endif
+
+#endif /* CDK_VERSION_H */
+diff -r ea979bb3ae11 cdkscreen.c
+--- a/cdkscreen.c Wed Aug 13 13:55:58 2014 -0400
++++ b/cdkscreen.c Wed Aug 13 16:14:54 2014 -0400
+@@ -180,17 +180,6 @@
+ ALL_SCREENS *item;
+ CDKSCREEN *screen = 0;
+
+- /* initialization, for the first time */
+- if (all_screens == 0)
+- {
+- /* Set up basic curses settings. */
+-#ifdef HAVE_SETLOCALE
+- setlocale (LC_ALL, "");
+-#endif
+- noecho ();
+- cbreak ();
+- }
+-
+ if ((item = typeMalloc (ALL_SCREENS)) != 0)
+ {
+ if ((screen = typeCalloc (CDKSCREEN)) != 0)
diff -r 9d0780ddcbab entry.c
--- a/entry.c 2013-06-16 09:12:32.000000000 -0400
+++ b/entry.c 2013-12-17 16:52:52.969973100 -0500