summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-08-22 21:54:04 +0200
committerBoris Faure <billiob@gmail.com>2014-08-22 21:54:04 +0200
commit1ef2fbb8a309611873118488d997b9deeb3f2f0a (patch)
treea7f2162eb510829aa9ce9076d6b5e0374ab927bc /src/bin/controls.c
parent117d9e784081f15f46797a1206ac48157e523e04 (diff)
refactor keys handling in termio: move to keyin, 2nd round!
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