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

[BUG] Exception when WT (Terminal) not installed #252

Open
1 task done
RedyAu opened this issue Jun 24, 2024 · 3 comments
Open
1 task done

[BUG] Exception when WT (Terminal) not installed #252

RedyAu opened this issue Jun 24, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@RedyAu
Copy link

RedyAu commented Jun 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I click "Open with Windows Terminal", an error message appears (as I don't have Terminal installed):

Windows cannot find 'wt'. Make sure you've typed the name correctly, then try again.

Expected Behavior

Definitely make a more useful error message than this: "Windows Terminal is not installed, please install it for this feature to work".

Or you could even prompt the user to download Windows Terminal.

But the best would be to fall back to cmd. I, for one, don't like the bloat and slowness of WT, and would prefer plain cmd, or even PowerShell.

Steps To Reproduce

  1. Have no WT installed
  2. Click Open with Windows Terminal

Environment

No response

Anything else?

Thank you for this great software, it feels like it should be part of Windows <3

@RedyAu RedyAu added the bug Something isn't working label Jun 24, 2024
Copy link

Hello there!
As you are a first time Issuer please read our Code of Conduct.
Please also check whether your issue description is reasonable and complete. If you are having an issue always include the version you are using (WSL, this app, Windows) as well as a way to reproduce it.

@RedyAu
Copy link
Author

RedyAu commented Jun 24, 2024

List<String> args = ['wt', 'wsl', '-d', distribution, '--cd', '~'];

@RedyAu
Copy link
Author

RedyAu commented Jun 24, 2024

@bostrot I just realized, that this is Flutter :P Might be able to submit a quick patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants