diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-04 09:54:19 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-06 01:59:24 +0200 |
commit | dd059ca8129a97dfde79101bdcf5d3f7bcec0a90 (patch) | |
tree | 0e9fa590a258c1bb576e134144313877ffac9eaa /src/wins.c | |
parent | a3cf63b3748c5f42214d648f003933d5597a3a8d (diff) | |
download | calcurse-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, ©, &paste }; struct binding *bindings_todo[] = { |