Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using WSL through Cursor's composer tool, the terminal gets stuck at "适用于Linux的Windows子系统分发版:Ubuntu 22.04 (默认)" because composer automatically adds '-l' parameter to WSL command. #2551

Open
xuanzc opened this issue Jan 6, 2025 · 3 comments

Comments

@xuanzc
Copy link

xuanzc commented Jan 6, 2025

Steps to Reproduce

  1. Open Cursor AI editor
  2. Try to use composer tool to execute WSL command
  3. Terminal gets stuck at WSL distribution prompt

Expected Behavior

WSL should start normally without getting stuck

Current Behavior

Terminal gets stuck due to automatic '-l' parameter addition

Environment

  • Cursor Version: 0.44.11
  • OS: Windows
  • WSL: Ubuntu 22.04

stuck1
stuck2

@xuanzc
Copy link
Author

xuanzc commented Jan 6, 2025

project\.vscode\settings.json
{ "terminal.integrated.defaultProfile.windows": "WSL", "terminal.integrated.profiles.windows": { "WSL": { "path": "wsl.exe", "args": ["-d", "Ubuntu-22.04", "/bin/bash"] } }, "git.enableSmartCommit": true, "git.confirmSync": false, "git.autofetch": true, "git.defaultCloneDirectory": "${workspaceFolder}", "git.ignoreLegacyWarning": true, "gitlens.advanced.messages": { "suppressCommitHasNoPreviousCommitWarning": true, "suppressCommitNotFoundWarning": true, "suppressFileNotUnderSourceControlWarning": true, "suppressGitVersionWarning": true, "suppressLineUncommittedWarning": true, "suppressNoRepositoryWarning": true }, "gitlens.keymap": "alternate", "gitlens.advanced.telemetry.enabled": false }

settings.json

@xuanzc
Copy link
Author

xuanzc commented Jan 8, 2025

Does no one have this problem?

1 similar comment
@xuanzc
Copy link
Author

xuanzc commented Jan 9, 2025

Does no one have this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant