Copy Action Does Not Work in iTerm

Issue Description

It looks like using the Copy Action fails in iTerm, if I wait for the PopClip menu to appear before invoking the Action. If I manually invoke PopClip via keyboard shortcut everything works as expected.

Steps to Reproduce

  1. Open an iTerm window
  2. Enter some text e.g. one
  3. Select the text from step 2
  4. Wait for the PopClip popup to appear
  5. Click on “Copy“

Expected Result

The clipboard contains the text one

Actual Result

The clipboard still contains the old clipboard content

Additional information

I just tried copying text via PopClip in iTerm again and somehow now it seems to work. Maybe the latest version of iTerm fixed the problem :man_shrugging:.

Thank you foer the report and the update. Please let me know if anything changes.