lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
963 stars 95 forks source link

Doing `calcurse -i -` in mutt's pager causing a running calcurse instance to call for merge #448

Open bitstreamout opened 1 year ago

bitstreamout commented 1 year ago

Version information.

Calcurse Version 4.8.0

Bug description.

I normally trigger calcurse -i - on the content of an ical entry in mutt via the macro

macro index,pager \ck "<pipe-entry> calcurse -i -<Enter>"

and this shows in mutt

Importiere Fortschrittsbericht 0068 lines read
1 Termin / 0 Ereignisse / 0 Aufgaben / 0 übersprungen
Press any key to continue...

and in a running clacurse instance

                                                System event

   - 2023-02-17 11:20:30 -> 
     Periodic save cancelled. Data files have changed. Save and merge interactively

and there is no key to do the Save and merge interactively as every key repeats the message above. Look like there is no check for a running instance via locking the data base and doing synchronising on the fly.

Reproduce.

see description above

Expected Behavior.

Make it work, that is a running calcurse instance should not be hurted by a second calcurse -i

Screenshots.

see messages above