-
Notifications
You must be signed in to change notification settings - Fork 161
Uncaught TypeError: Cannot read property 'focusTerminal' of null #189
Comments
I ran into this same error. I found the error trying to use Atom's built in find and replace. To workaround this, for now, I commented out the keymap for Platformio-IDE that is throwing the error. Atom Settings/Packages Platformio ide Terminal > View Code platformio-ide-termial/keymaps/platformio-ide-terminal.cson
Then restarted Atom and there is no longer an error. However now there is no shortcut to focus the terminal which I can live with. But others may not in their workflow perhaps. But it is at least a temporary fix. Another option is to just change the keymap to something else. http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ |
This isn't a keymap issue; if you attempt to focus the terminal when none are open, this error is thrown. |
True but it need to be caught so the error doesn't come or open the terminal in case it is already not opened |
* Fix focus issue when terminal is not active #189 * blurring terminal return focus to previous element * lastActive element is now updated at each terminal focus
Please retest again with platformio-atom-ide-terminal 2.9.0 is using node-pty-prebuilt instead unmaintained and outdated pty.js |
expected: "Replace in buffer". Running "Replace in buffer" from drop down operates correctly.
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.11.6
Thrown From: platformio-ide-terminal package 2.4.0
Stack Trace
Uncaught TypeError: Cannot read property 'focusTerminal' of null
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: