closing Terminal session won't persist the history of commands

This is really annoying.

Steps to reproduce:

  1. Open WebStorm (random folder/project).
  2. Open the Treminal integrated in the IDE, run `history` and notice the most recent command
  3. Type some commands such `echo`, `ls`, etc...
  4. *Close the terminal by pressing "close button" using mouse/trackpad.
  5. Open the integrated terminal once again and then run `history`

Expected result: the user should see the most recent commands listed on the bottom of the command history list.
Actual result: the most recent commands are not stored in history.

* Please note that if I close the integrated terminal by running the `exit` command, it works as expected and the commands are stored in history!

 

Please sign in to leave a comment.