Bug: keyboard focus stays in editor despite displaying console
JonB last edited by
open a new file.
paste in simple example below.
import ui ui.View().present('sheet') print 'switching to console....' #but, after view is closed, cursor is still in editor, but display is in console
after closing the view that pops up, the console is shown, because of the print, however focus is never given to the console text entry. if you start typing, the typed stuff goes into the editor, perhaps overwriting whatever was highlighted, and certainly messing up whatever was there!
in other words, the console is shown, implying typed words go there, instead it goes to the hidden editor.