vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Exit on Integrated terminal with zsh.

Open ramonsan opened this issue 10 years ago • 3 comments

  • VSCode Version: 1.2.0
  • OS Version: Ubuntu 16.04 x64
  • Terminal: Using zsh as terminal by default.

Steps to Reproduce:

  1. Toggle integrated terminal.
  2. Type exit to end session.

Terminal session is closed, but panel is not. You can toggle many times terminal, but do not open new session, you can not use it until you restart VS Code.

Using Bash, exit closes the panel, and toggle it again brings a new session.

ramonsan avatar Jun 10 '16 10:06 ramonsan

I cannot reproduce this on 1.2.0 stable, is it consistently reproducing @ramonsan? Can you check the console in devtools to see if there are any errors (Help > Toggle Developer Tools)?

Tyriar avatar Jun 10 '16 19:06 Tyriar

I tried today and seems it work as expected.

~~Maybe was related with some comand used friday. I will investigate the posible cause of that behavior.~~

EDIT:

The problem is with ionic client. I was running ionic serve that watch src directory.

Steps to reproduce:

  1. Toggle integrated terminal.
  2. Run ionic serve on a ionic project.
  3. Create a new folder, with a new file in a watched directory (ie. www/js/test/test.js).
  4. Drag and drop that folder into another folder inside a watched directory (ie. www/js/second/test/test.js).
  5. That breaks ionic cli, showing an error in terminal, and you return to prompt.
  6. Now, you can use terminal normally, but if you type exit it can not be reloaded.

I tried in a blank project, and error displays but you can exit normally. I am using babel transpiler in my current project so, I should be a specific issue with livereload related to ionic and not to VS Code.

ramonsan avatar Jun 13 '16 07:06 ramonsan

Things in this area changed a lot in v1.3, closing this as resolved. Please reopen/comment if you can reproduce in the Insiders build.

Tyriar avatar Jul 05 '16 18:07 Tyriar