samarnab24 / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 0 forks source link

The Return key is generating LF instead of CR #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Pressing the Return key on the iPhone's soft keyboard will generate a
linefeed character (LF, ASCII 10, '\n') instead of a carriage return (CR,
ASCII 13, '\r') as it should.

Most programs don't care and treat them the same, but some (like the "nano"
editor) treat them differently.

Original issue reported on code.google.com by lenn...@gmail.com on 29 Mar 2008 at 1:31

GoogleCodeExporter commented 8 years ago
This looks like a bug in the iPhone system software (1.1.3), but since it can 
easily
be worked around in Terminal, I think it's probably worth while fixing it here.

Original comment by lenn...@gmail.com on 29 Mar 2008 at 1:33

GoogleCodeExporter commented 8 years ago
Fixed in r235 by mapping LFs back to CRs in handleKeyPress:.

Original comment by lenn...@gmail.com on 29 Mar 2008 at 2:43