Commit 88a1983594a8fe1264198e33c80fa1c7dfe47a24
1 parent
7d357cec
Exists in
master
and in
1 other branch
Adding "cut-as-text" accelerator.
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/terminal/keyboard/init.c
@@ -106,6 +106,14 @@ | @@ -106,6 +106,14 @@ | ||
106 | }, | 106 | }, |
107 | 107 | ||
108 | { | 108 | { |
109 | + .operation = ACCEL_OPERATION_CUT|V3270_COPY_TEXT, | ||
110 | + .name = "cut-text", | ||
111 | + .key = 'x', | ||
112 | + .mods = GDK_SHIFT_MASK|GDK_CONTROL_MASK, | ||
113 | + .activate = G_CALLBACK(fire_copy_accelerator) | ||
114 | + }, | ||
115 | + | ||
116 | + { | ||
109 | .operation = ACCEL_OPERATION_DEFAULT, | 117 | .operation = ACCEL_OPERATION_DEFAULT, |
110 | .name = "paste", | 118 | .name = "paste", |
111 | .key = 'v', | 119 | .key = 'v', |