randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.37k stars 83 forks source link

Auto-close in keybindings? #350

Open abuisman opened 2 years ago

abuisman commented 2 years ago

Hi,

I am trying to create a keybinding that runs my tests in a terminal tab and doesn't auto-close:

I started out with a proof of concept with ls, but it auto-closes.

  {
      "keys": ["super+shift+e"],
      "command": "terminus_open",
      "args"   : {
        "cmd": "ls",
        "title": "tests",
        "auto_close": False,
      }
  },

It seems like "auto_close" is only available for build commands maybe. But I could also be using the wrong key or the wrong placement. "false" also doesn't work.