dooit-org/dooit

[BUG] Trying to copy tasks between workspaces exits with an exception

Opened this issue ยท 1 comments

Using <y> to yank and copy todo items from one workspace to another causes an exception. ๐Ÿ›

To Reproduce ๐Ÿฃ
Steps to reproduce the behavior:

  1. Create two or more workspaces <a> <description> <enter>.
  2. Add a todo item into a workspace <l> <a> <description> <enter>
  3. Yank the todo item <y>
  4. Move to a different workspace <h> <j>
  5. Paste the todo item <p>
  6. Press any key afterwards, an exception should be thrown, no new items get added to the workspace.

Expected behavior ๐Ÿค”
The todo item appears in the new workspace.

Desktop (please complete the following information): ๐Ÿค–

  • OS: NixOS 23.05 (Stoat) x86_64
  • Version dooit - 2.0.1

Additional info
I tried other combinations, like moving into the workspace, but that doesn't work either.

Hmmm...This is actually expected behaviour since all workspaces have their own local clipboard, I'll add an option to copy to a global clipboard :D