This solves #190. But what was the original reason to put the line @psuedoinput.val("").focus()?
Also, there was a different problem. When you press <Enter>, in editor, the \n character was added but the viewport didn't change. I think this was due to the fact that when <Enter> is pressed, the handler prevents default actions. So atom-shell doesn't know about this event and doesn't change the viewport. So I commented this line too.
This solves #190. But what was the original reason to put the line
@psuedoinput.val("").focus()
?Also, there was a different problem. When you press
<Enter>
, in editor, the\n
character was added but the viewport didn't change. I think this was due to the fact that when<Enter>
is pressed, the handler prevents default actions. Soatom-shell
doesn't know about this event and doesn't change the viewport. So I commented this line too.Closes #190, #106.