diff options
author | Denys Vlasenko | 2012-01-15 23:00:13 +0100 |
---|---|---|
committer | Denys Vlasenko | 2012-01-15 23:00:13 +0100 |
commit | 6e8861b5f139cde297a95e785e7c616cf129df80 (patch) | |
tree | 4f4ce792bd441ac9541033e7f6899bedcf2b6d4a /editors | |
parent | 7ce209b9d4f6053b7e6d07dec66e382bc3614c35 (diff) | |
download | busybox-6e8861b5f139cde297a95e785e7c616cf129df80.zip busybox-6e8861b5f139cde297a95e785e7c616cf129df80.tar.gz |
*: better comments on termios manipulations. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 6070c48..4a2d5d4 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2304,7 +2304,7 @@ static void rawmode(void) { tcgetattr(0, &term_orig); term_vi = term_orig; - term_vi.c_lflag &= (~ICANON & ~ECHO); // leave ISIG ON- allow intr's + term_vi.c_lflag &= (~ICANON & ~ECHO); // leave ISIG on - allow intr's term_vi.c_iflag &= (~IXON & ~ICRNL); term_vi.c_oflag &= (~ONLCR); term_vi.c_cc[VMIN] = 1; |