Also, if I try ctrl-c in repl it looks like it actually do enter, even on unix build.
$ ./micropython
MicroPython v1.4.5-654-g37f414f on 2015-12-21; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>
>>
>> fooTraceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'foo' is not defined
>>