atom-iex
atom-iex copied to clipboard
REPL should focus when tab gets focus via menu
trafficstars
When the REPL tab is focused via the "View->Panes->Focus Pane Below" or related methods it does not get focus, even though the focus has left the previously focused editor. Clicking on the pane works, but not using the menu.
Does anybody have any insight to what might be causing this?
Oddly, if I change TermView's focus method to this, it works:
focus:(second_call = false) ->
@resizeToPane()
@focusTerm()
if !second_call
setTimeout (=> @focus(true)), 0
#super
Sorry, I have completely neglected this plugin while working on other things. I will try your code later this week and see about a fix.