LightTable/LightTable — pull request #1327 by spelufo (2014-03-03 02:15:09+00:00)
Title: Prevent opening multiple console tabs.

Running the :console-tab command multiple times created a new tab each time, and appended the console to the last one.

Also, when the console is open on the bottombar, and you run the :console-tab command, the bottombar tabset doesn't shrink. I wanted to fix that but since I didn't know the prefered way to tell the bottombar to update its size, instead of setting it's height manually from console.cljs, I decided to leave it. I had a similar issue with a sublime, where I needed hide or show but only toggle was available. It would be nice to have hide and show for every toggle, it's very handy when binding key combinations to multiple commands. (e.g. "ctrl-3" [:show-sidebar :hide-commands :hide-console])