You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 fix(clipboard): add WSL2 support and refactor to switch statement
- Add isWSL() detection for Windows Subsystem for Linux
- Support clipboard copy on Ubuntu WSL2 via clip.exe
- Refactor if-else chain to switch statement per gocritic lint
- Check WSL_DISTRO_NAME env and /proc/version for WSL detection
- Prioritize WSL → Wayland → xclip → xsel → fallback
Fixes#8
0 commit comments