comment fix: ^J should be Ctrl-J
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
837a02b256
commit
fd462b164e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue