Giter Club home page Giter Club logo

Comments (6)

aminomancer avatar aminomancer commented on June 6, 2024 1

Using workbench.action.inspectContextKeys I found that the terminalCount flag is 1, even with no terminals open.

I also found other parameters which, for the moment, I'm using as a proxy for terminalIsOpen since they still work:

!terminalShellType && !terminalGroupCount

from vscode.

meganrogge avatar meganrogge commented on June 6, 2024

It seems that terminalIsOpen is only true if a terminal has never been opened.

thanks for the report, if your statement above is true, I'd expect terminalsOpen:false after following these steps. But for me, it is true.

  1. create a terminal
  2. kill it
  3. create a terminal
  4. value of terminalIsOpen:true

from vscode.

meganrogge avatar meganrogge commented on June 6, 2024

that keybinding works for me. i'd suggest using the command: Developer: Toggle Keyboard Shortcuts Troubleshooting to see what your issue could be

Screen.Recording.2024-05-02.at.2.46.35.PM.mov

from vscode.

aminomancer avatar aminomancer commented on June 6, 2024

I think you've misunderstood. That is the opposite of what I said.

  1. create a terminal
  2. kill it
  3. create a terminal
  4. kill it
  5. value of terminalIsOpen should be FALSE but it's TRUE. It remains true indefinitely until the app is closed, so that my keybinding with when=!terminalIsOpen can never trigger

Also see my comment about terminalCount being 1 even though all terminals are closed. That may be reproducible as well. I was able to reproduce it for all types of terminal I have - bash, pwsh, cmd, and a few others.

This just started after updating vscode today. I've been using these keyboard shortcuts without issue for over a year, so it's hard to see how this problem could be anything other than a vscode regression.

from vscode.

aminomancer avatar aminomancer commented on June 6, 2024
vscodeTerminalIssue.webm

from vscode.

aminomancer avatar aminomancer commented on June 6, 2024

The bug is still closed despite the labels.

from vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.