summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-08-21 23:28:49 +0200
committerBoris Faure <billiob@gmail.com>2014-08-21 23:29:53 +0200
commit9215f941e935f2379dd135f6e184c10e9a6eb147 (patch)
tree9e40cc578087d925f0994b486e9c119bd7e9c908 /src/bin/controls.c
parent31df543ec67f8ac5a3fe2e82438e411e662f234f (diff)
refactor keys handling in termio: move to keyin
Diffstat (limited to 'src/bin/controls.c')
-rw-r--r--src/bin/controls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index be279e8..d18320e 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -54,7 +54,7 @@ _cb_ct_copy(void *data EINA_UNUSED,
54 Evas_Object *obj EINA_UNUSED, 54 Evas_Object *obj EINA_UNUSED,
55 void *event EINA_UNUSED) 55 void *event EINA_UNUSED)
56{ 56{
57 termio_copy_clipboard(ct_term); 57 termio_take_selection(ct_term, ELM_SEL_TYPE_CLIPBOARD);
58 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 58 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
59} 59}
60 60
@@ -63,7 +63,7 @@ _cb_ct_paste(void *data EINA_UNUSED,
63 Evas_Object *obj EINA_UNUSED, 63 Evas_Object *obj EINA_UNUSED,
64 void *event EINA_UNUSED) 64 void *event EINA_UNUSED)
65{ 65{
66 termio_paste_clipboard(ct_term); 66 termio_paste_selection(ct_term, ELM_SEL_TYPE_CLIPBOARD);
67 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 67 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
68} 68}
69 69