romgrk / termrk

Terminal for atom, using pty.js & term.js
MIT License
33 stars 7 forks source link

Focus terminal on termrk:show #30

Closed olmokramer closed 9 years ago

olmokramer commented 9 years ago

It would be nice if the terminal gets focus after calling the termrk:show command. Currently it only does this when the terminal is hidden. I would like to use my keybinding for termrk:show to focus the terminal when it isn't hidden when the command is called, right now I have to click the terminal when it's already visible.

romgrk commented 9 years ago

Accepted, will be included in next patch (releasing before 18:00).

Also added commands termrk:toggle-focus, termrk:focus and termrk:blur for convenience.

olmokramer commented 9 years ago

Awesome, thanks!