I'm trying to create a little Python/curses app.

But as far as I can see there's no way to tell whether CTRL+J or Enter have been pressed. Now this may be caused by the fact that they both have the same ascii code (10):

http://en.wikipedia.org/wiki/Control_character#In_ASCII

But how can VIM tell the difference between these two?

Edit
Report