summaryrefslogtreecommitdiff
path: root/src/wins.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-07-04 09:54:19 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-07-06 01:59:24 +0200
commitdd059ca8129a97dfde79101bdcf5d3f7bcec0a90 (patch)
tree0e9fa590a258c1bb576e134144313877ffac9eaa /src/wins.c
parenta3cf63b3748c5f42214d648f003933d5597a3a8d (diff)
downloadcalcurse-dd059ca8129a97dfde79101bdcf5d3f7bcec0a90.zip
Add a key binding for generic-copy
This finally adds full copy-paste support. Implements FR#15. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wins.c b/src/wins.c
index d518377..5123e1c 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -588,6 +588,7 @@ void wins_status_bar(void)
struct binding quit = { _("Quit"), KEY_GENERIC_QUIT };
struct binding save = { _("Save"), KEY_GENERIC_SAVE };
struct binding cut = { _("Cut"), KEY_GENERIC_CUT };
+ struct binding copy = { _("Copy"), KEY_GENERIC_COPY };
struct binding paste = { _("Paste"), KEY_GENERIC_PASTE };
struct binding chgvu = { _("Chg Win"), KEY_GENERIC_CHANGE_VIEW };
struct binding import = { _("Import"), KEY_GENERIC_IMPORT };
@@ -638,7 +639,7 @@ void wins_status_bar(void)
&help, &quit, &save, &chgvu, &import, &export, &add, &del, &edit, &view,
&pipe, &draw, &rept, &flag, &enote, &vnote, &up, &down, &gpday, &gnday,
&gpweek, &gnweek, &gpmonth, &gnmonth, &gpyear, &gnyear, &togo, &today,
- &conf, &appt, &todo, &cut, &paste
+ &conf, &appt, &todo, &cut, &copy, &paste
};
struct binding *bindings_todo[] = {