question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows Terminal Preview is not recognized by Files

See original GitHub issue

Describe the bug Basically, Files doesn’t recognize WT Preview. You may try to manyally add it to the terminal.json file but it gets removed on startup. Even changing the title from “Windows Terminal” to “Windows Terminal Preview” still makes Files remove that JSON object all together.

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings > Preferences
  2. Edit the file to add Windows Terminal Preview
  3. Go back to Settings > Preferences after a restart of the app
  4. See that the entry you added is deleted and not there.

Expected behavior The expected behavior is that my entry for Windows Terminal Preview would continue to be there after a restart.

Desktop:

  • OS Version: Windows 10 1909 18363.1082
  • App version: v0.15.4.0

Additional context The workaround I have found for this is to change the command for the Windows Terminal JSON object from wt.exe to just wt. EDIT: For Clarity, this bug is only present when ONLY Windows Terminal Preview is installed and not also the Stable version.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
yaira2commented, Oct 1, 2020

Can you try adding this profile?

{
      "name": "Windows Terminal",
      "path": "wt.exe",
      "arguments": "-d .",
      "icon": ""
}
1reaction
yaira2commented, Dec 30, 2020

@brukberhane The profile for Windows Terminal Preview as the same Windows Terminal profile. See this doc for more information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to launch Windows Terminal Preview from ...
Install Windows Terminal Preview from Microsoft Store. Press Windows+X. Click "Windows Terminal". Expected Behavior. Windows Terminal Preview ...
Read more >
Windows Terminal Troubleshooting
If the startingDirectory is being ignored in your profile, first check to make sure the syntax is correct in your settings.json file. To...
Read more >
How to open the Windows Terminal (Preview) in File Explorer
Simply type in wt in the address bar and it will open the command prompt with the path to your current folder already...
Read more >
6 Ways to Fix the Windows Terminal Not Opening
6 Ways to Fix the Windows Terminal Not Opening · 1. Try a Different Method to Open the Windows Terminal · 2. Check...
Read more >
Path and Name of exe file of windows terminal preview
Find Windows Terminal, click your right mouse button, click open file location. It will navigate WindowsTerminal.exe automatically.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found