Skip to content

ctrl+c doesn't exit commands in terminal #184837

Closed as not planned
Closed as not planned

Description

@Tucsky

Does this issue occur when all extensions are disabled?: yes

  • VS Code Version: 1.79.0 (07/06/2023) (3 days ago)
  • OS Version: OSX 10.14.16

Steps to Reproduce:

  1. In the vscode terminal (any terminal, bash zsh, it doesn't matter)
  2. Run a command - sleep 10 for example - then immediately press ctrl+c
  3. and it doesn't exit that command

It's been like that for more than a month now, what are you guys doing 😅

2023-06-11 14 52 02

There is no error in console like #181939 thus why I created this issue

Version: 1.79.0
Commit: b380da4
Date: 2023-06-07T14:29:00.206Z (3 days ago)
Electron: 22.5.5
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 18.7.0

Activity

  1. uovol commented on Jun 12, 2023

    @uovol

    I have the same problem.

    Version: 1.79.0 (Universal)
    Commit: b380da4
    Date: 2023-06-07T14:29:00.206Z (4 days ago)
    Electron: 22.5.5
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Darwin x64 17.7.0

    insider version also does not work

    Version: 1.80.0-insider (Universal)
    Commit: 6cd5ac1
    Date: 2023-06-09T18:30:28.759Z (2 days ago)
    Electron: 22.5.5
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Darwin x64 17.7.0

  2. added
    bug
    terminal-input
    terminal-process
    on Jun 12, 2023
  3. Tyriar commented on Jun 12, 2023

    @Tyriar
    Contributor

    Megan Rogge (@meganrogge) this might be a mac only issue, can you reproduce?

  4. meganrogge commented on Jun 12, 2023

    @meganrogge
    Collaborator

    I cannot reproduce

  5. meganrogge commented on Jun 12, 2023

    @meganrogge
    Collaborator

    does disabling shell integration via terminal.integrated.shellIntegration.enabled fix it?

  6. added
    info-needed
    on Jun 12, 2023
  7. Tyriar commented on Jun 12, 2023

    @Tyriar
    Contributor

    Also have you manually installed shell integration? Check your .zshrc/etc. scripts

  8. Tucsky commented on Jun 12, 2023

    @Tucsky
    Author

    Also have you manually installed shell integration? Check your .zshrc/etc. scripts

    ctrl+c works as expected on the osx terminal app, which uses zshrc as well

    I did tried removing my .zshrc file to see it that was the cause but beside changing the theme of the terminal and name format, the ctrl+c remains unsuccessful

    does disabling shell integration via terminal.integrated.shellIntegration.enabled fix it?

    I tried set to false, restarted terminal, or even vscode, no change...

  9. 2 remaining items

  10. huaigu commented on Jun 17, 2023

    @huaigu

    I have same issue on my mac os.
    crtl +c is not working on vscode.

    Version: 1.79.2
    Commit: 695af09
    Electron: 22.5.7
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Darwin x64 17.7.0

  11. gagermaniac commented on Jun 18, 2023

    @gagermaniac

    got the same issue on macOS Mojave 10.14.6

  12. whereismygithub commented on Jun 19, 2023

    @whereismygithub

    same the issue with me on macOS Mojave 10.14.6,
    This question has been bothering me for a month。
    Daniel Imms (@Tyriar) Megan Rogge (@meganrogge)
    Version: 1.79.1
    Commit: 4cb974a
    Date: 2023-06-12T16:16:49.215Z
    Electron: 22.5.7
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Darwin x64 18.7.0
    Sandboxed: Yes

  13. meganrogge commented on Jun 20, 2023

    @meganrogge
    Collaborator

    maybe related to #184713 ? Robo (@deepak1556)

  14. deepak1556 commented on Jun 21, 2023

    @deepak1556
    Collaborator

    Yup they are related, merging to #184713

  15. AceYangWQ commented on Jun 21, 2023

    @AceYangWQ

    This issue is not solved why do you always close related issues

  16. olliequ commented on Jun 21, 2023

    @olliequ

    Same issue for a couple weeks now. Really annoying. Tucsky (@Tucsky) Chaos Yang (@ycalm) AceYangWQ did any of you guys find a fix/workaround? Driving me nuts.

    MacOS Mojave.

  17. AceYangWQ commented on Jun 21, 2023

    @AceYangWQ

    Same issue for a couple weeks now. Really annoying. Tucsky (@Tucsky) Chaos Yang (@ycalm) AceYangWQ did any of you guys find a fix/workaround? Driving me nuts.

    MacOS Mojave.

    I'm using an old version (1.78.0) for now

  18. olliequ commented on Jun 21, 2023

    @olliequ

    Same issue for a couple weeks now. Really annoying. Tucsky (@Tucsky) Chaos Yang (@ycalm) AceYangWQ did any of you guys find a fix/workaround? Driving me nuts.
    MacOS Mojave.

    I'm using an old version (1.78.0) for now

    Is there an easy way to rollback VSCode versions, or do you have to uninstall and install an old version manually...

  19. huaigu commented on Jun 22, 2023

    @huaigu

    It seems like this issue occurred on an older version of MacOS, specifically version 14 and earlier.
    Anyone who uses a higher version of MacOS is also experiencing the same issue?

  20. flyMDW commented on Jul 4, 2023

    @flyMDW

    I rollback to 1.77.3 to resolve this problem

  21. huaigu commented on Jul 5, 2023

    @huaigu

    I rollback to 1.77.3 to resolve this problem

    thanks buddy, it works.

  22. Tyriar commented on Jul 28, 2023

    @Tyriar
    Contributor

    This issue is not solved why do you always close related issues

    Because they're the same thing so they get merged?


    Looks like #184713 will hopefully get fixed in the August release (v1.82). Note that downgrading several version may leave you exposed to security vulnerabilities as we typically release a security release every month or 2.

  23. locked as resolved and limited conversation to collaborators on Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginfo-neededterminal-inputterminal-process

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions