repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: e144453c208d2f037edb2ad6d05ffbfc6e13e10a:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit e144453c208d2f037edb2ad6d05ffbfc6e13e10a
Author: Emanuele Giaquinta 
Date:   Mon May 28 18:38:03 2007 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index fd45901e5a7dd60f89e77098a371ec91f88c069c..
index ..23cdfa48413346e31ac932f7ce5929d7324b2ae9 100644
--- a/Changes
+++ b/Changes
@@ -27,6 +27,8 @@ DUMB: support tex fonts
         - better option handling, support more than 30 options (exg).
         - add urgentOnBell resource to set the urgency hint
           (patch by Philip Paeps).
+        - add binding for backspace in iso14755 5.1 to remove the last
+          digit.

 8.2  Sat Feb 17 21:35:28 CET 2007
 	- fix make depend in src/, reported by exg.
diff --git a/src/command.C b/src/command.C
index aacfd94686c3dcbaafa18baf748d6c6def6b2317..
index ..90afe29fce0f2721e877855ab200696bb448cd85 100644
--- a/src/command.C
+++ b/src/command.C
@@ -499,6 +499,14 @@ rxvt_term::key_press (XKeyEvent &ev)
               iso14755buf = ISO_14755_51;
 # if ISO_14755
               iso14755_51 (0);
+# endif
+              return;
+            }
+          else if (keysym == XK_BackSpace)
+            {
+              iso14755buf = ((iso14755buf & ISO_14755_MASK) >> 4) | ISO_14755_51;
+# if ISO_14755
+              iso14755_51 (iso14755buf & ISO_14755_MASK);
 # endif
               return;
             }

-----END OF PAGE-----