billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=dcb978662ad994a56126eed18b54502339ac8fdc

commit dcb978662ad994a56126eed18b54502339ac8fdc
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Sep 28 22:55:56 2014 +0200

    fix alt-backspace
---
 src/bin/keyin.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index a5b87f5..b114c83 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -121,10 +121,11 @@ _handle_key_to_pty(Termpty *ty, const Evas_Event_Key_Down 
*ev,
 
    if (!strcmp(ev->key, "BackSpace"))
      {
+        if (alt)
+          termpty_write(ty, "\033", 1);
         if (ty->state.send_bs)
           {
              termpty_write(ty, "\b", 1);
-             return;
           }
         else
           {
@@ -138,8 +139,8 @@ _handle_key_to_pty(Termpty *ty, const Evas_Event_Key_Down 
*ev,
                {
                   termpty_write(ty, "\b", sizeof("\b") - 1);
                }
-             return;
-        }
+          }
+        return;
      }
    if (!strcmp(ev->key, "Return"))
      {

-- 


Reply via email to