fix (desktop): git lock fix and duplicate input bug

Merged
AV
1y ago
+124-27

Description

Related Issues

Type of Change

  • [ x] Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes

Summary by CodeRabbit

  • Bug Fixes

    • Better detection and messaging for locked Git repositories during workspace operations, with safe guidance for removing lock files.
  • Improvements

    • More reliable terminal focus and keyboard handling to ensure the latest focus handler is used and cleaned up.
    • Improved macOS window reopen behavior so window controls and IPC tolerate recreated windows and avoid stale references.
  • New Features

    • Added a utility to detach terminal listeners during window lifecycle events.

✏️ Tip: You can customize this high-level summary in your review settings.