From 4e552a70ec00e4eb9bb0bcde95688ddb3c4fcefe Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 Jul 2011 15:18:20 +0200 Subject: less: optionally query terminal size via "ESC [ 6 n". Closes bug 2659. +7 bytes is not selected, +100 if selected. Signed-off-by: Denys Vlasenko --- editors/vi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/vi.c b/editors/vi.c index 55092f921..96a0c8df7 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -132,8 +132,8 @@ //config: help //config: If terminal size can't be retrieved and $LINES/$COLUMNS are not set, //config: this option makes vi perform a last-ditch effort to find it: -//config: vi positions cursor to 999,999 and asks terminal to report real -//config: cursor position using "ESC [ 6 n" escape sequence, then reads stdin. +//config: position cursor to 999,999 and ask terminal to report real +//config: cursor position using "ESC [ 6 n" escape sequence, then read stdin. //config: //config: This is not clean but helps a lot on serial lines and such. //config: -- cgit v1.2.3