diff options
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index ba0f11e..8a5d261 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -292,6 +292,14 @@ int main(int argc, char **argv) } break; + case KEY_GENERIC_COPY: + if (wins_slctd() == APP && apoint_hilt() != 0) { + interact_day_item_copy(&inday.nb_events, &inday.nb_apoints); + inday = do_storage(0); + wins_update(FLAG_CAL | FLAG_APP); + } + break; + case KEY_GENERIC_PASTE: if (wins_slctd() == APP) { interact_day_item_paste(&inday.nb_events, &inday.nb_apoints); |