comment fix: ^J should be Ctrl-J

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-05-19 15:41:17 +00:00
parent 837a02b256
commit fd462b164e
1 changed files with 3 additions and 3 deletions

View File

@ -3404,9 +3404,9 @@ int main(int argc, char *argv[])
* terminal mode, put the terminal in raw mode (read one character at * terminal mode, put the terminal in raw mode (read one character at
* a time and don't interpret the special control keys), disable * a time and don't interpret the special control keys), disable
* translation of carriage return (^M) into newline (^J) so that we * translation of carriage return (^M) into newline (^J) so that we
* can tell the difference between the Enter key and ^J, and disable * can tell the difference between the Enter key and Ctrl-J, and
* echoing of characters as they're typed. Finally, if we're in * disable echoing of characters as they're typed. Finally, if we're
* preserve mode, turn the flow control characters back on. */ * in preserve mode, turn the flow control characters back on. */
initscr(); initscr();
raw(); raw();
#ifdef USE_SLANG #ifdef USE_SLANG