summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorGwang O Lee <pu8046@gmail.com>2014-09-04 16:04:40 +0200
committerWonguk Jeong <wonguk.jeong@samsung.com>2014-09-04 16:04:40 +0200
commit1c64e7c7c512f54a4169e42ee68d180fdc4a11d3 (patch)
tree69b62dda2f2d8e5435e6e3cf349f84eb78a0f252 /src/bin/keyin.c
parent9a6e54dc033e05a5b6817eadc033c072d5cfc487 (diff)
add "Close the current terminal" key binding
Summary: First, you must delete the '~/.config/terminology/config/standard/base.cfg'. Key : Ctrl + Shift + End Reviewers: huchi, seoz, billiob Reviewed By: billiob Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D1404
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index 99dafbc..001ab83 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -757,6 +757,13 @@ cb_tab_new(Evas_Object *term)
757} 757}
758 758
759static Eina_Bool 759static Eina_Bool
760cb_exited(Evas_Object *term)
761{
762 evas_object_smart_callback_call(term, "exited", NULL);
763 return EINA_TRUE;
764}
765
766static Eina_Bool
760cb_tab_select(Evas_Object *term) 767cb_tab_select(Evas_Object *term)
761{ 768{
762 evas_object_smart_callback_call(term, "select", NULL); 769 evas_object_smart_callback_call(term, "select", NULL);
@@ -903,6 +910,7 @@ static Shortcut_Action _actions[] =
903 {"split_h", gettext_noop("Split horizontally (new below)"), cb_split_h}, 910 {"split_h", gettext_noop("Split horizontally (new below)"), cb_split_h},
904 {"split_v", gettext_noop("Split vertically (new on right)"), cb_split_v}, 911 {"split_v", gettext_noop("Split vertically (new on right)"), cb_split_v},
905 {"tab_new", gettext_noop("Create a new \"tab\""), cb_tab_new}, 912 {"tab_new", gettext_noop("Create a new \"tab\""), cb_tab_new},
913 {"exited", gettext_noop("Close the focused terminal"), cb_exited},
906 {"tab_select", gettext_noop("Bring up \"tab\" switcher"), cb_tab_select}, 914 {"tab_select", gettext_noop("Bring up \"tab\" switcher"), cb_tab_select},
907 {"tab_1", gettext_noop("Switch to terminal tab 1"), cb_tab_1}, 915 {"tab_1", gettext_noop("Switch to terminal tab 1"), cb_tab_1},
908 {"tab_2", gettext_noop("Switch to terminal tab 2"), cb_tab_2}, 916 {"tab_2", gettext_noop("Switch to terminal tab 2"), cb_tab_2},